diff options
| author | Leon Hwang <leon.hwang@linux.dev> | 2026-05-18 17:54:46 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-19 04:51:32 +0300 |
| commit | 7732ad2412fd402913976e490921f7e792a0a33b (patch) | |
| tree | 80f19f2cd2f6c01c56e03bb2a09c6dbd8ce33c57 /lib/debugobjects.c | |
| parent | 652f0c2c999d28d820bbe2e1aa16d8e0fea369ea (diff) | |
| download | linux-7732ad2412fd402913976e490921f7e792a0a33b.tar.xz | |
selftests/bpf: Add test to verify checking padding bytes for BPF syscall common attributes
Add a test to verify that the tailing padding 4 bytes are checked in
syscall.c::__sys_bpf() using bpf_check_uarg_tail_zero().
Without the fix, the test fails with:
test_common_attr_padding:FAIL:syscall unexpected syscall: actual 4 >= expected 0
#213/12 map_create_failure/common_attr_padding:FAIL
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Link: https://lore.kernel.org/r/20260518145446.6794-6-leon.hwang@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
