Re: [PATCH bpf 2/2] bpf: Require ARG_PTR_TO_MEM with memory flag
From: Zesen Liu
Date: Wed Jan 07 2026 - 08:03:36 EST
You're right. I'll add the missing flags to these prototypes and address this in v2.
> On Jan 7, 2026, at 20:44, bot+bpf-ci@xxxxxxxxxx wrote:
>
> Would these helpers fail check_func_proto() after this change, causing
> BPF programs using them to fail verification? Should these prototypes
> be updated to include MEM_RDONLY (since they read from the memory), or
> should the check skip ARG_PTR_TO_FIXED_SIZE_MEM?