Thread (6 messages) flat view 6 messages, 3 authors, 2026-01-07

Re: [PATCH bpf 2/2] bpf: Require ARG_PTR_TO_MEM with memory flag

From: Zesen Liu <hidden>
Date: 2026-01-07 13:03:36
Also in: bpf, linux-trace-kernel, lkml

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@kernel.org 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?
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help