Re: [PATCH] bpf: Replace (arg_type & MEM_RDONLY) with type_is_rdonly_mem

From: Feng Yang
Date: Thu Jan 09 2025 - 03:24:46 EST


> Yeah.
> If we do this let's change type_is_rdonly_mem(u32 type)
> to enum as well.

> pw-bot: cr

It needs to receive bpf_reg_type and bpf_arg_type, and base_type(u32 type) is also u32.