Re: [PATCH bpf-next 1/2] bpf: align syscall writeback behavior with caller-declared size
From: Leon Hwang <hidden>
Date: 2026-05-28 05:43:29
Also in:
bpf, linux-kselftest, lkml
From: Leon Hwang <hidden>
Date: 2026-05-28 05:43:29
Also in:
bpf, linux-kselftest, lkml
On 25/5/26 15:21, Yuyang Huang wrote: [...]
Feel free to let us know your thoughts.
I believe this is a user space issue instead of a kernel bug.
I tried to use mmap() memory as uattr that got -EFAULT instead of crash.
[................] /* mmap() memory */
^ tail 40B as uattr
^ 56B offset for copy_to_user()
Thanks,
Leon