diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-05-19 04:51:14 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-19 04:51:32 +0300 |
| commit | 3fc9a70a14d04af603deafa8ba1e42abf542fcd0 (patch) | |
| tree | 80f19f2cd2f6c01c56e03bb2a09c6dbd8ce33c57 /lib/debugobjects.c | |
| parent | 576482b55c19e7ec00e162a0fde4c4f1a95128c7 (diff) | |
| parent | 7732ad2412fd402913976e490921f7e792a0a33b (diff) | |
| download | linux-3fc9a70a14d04af603deafa8ba1e42abf542fcd0.tar.xz | |
Merge branch 'bpf-follow-up-fixes-for-bpf-syscall-common-attributes'
Leon Hwang says:
====================
bpf: Follow-up fixes for BPF syscall common attributes
Address sashiko reviews for BPF syscall common attributes series.
1. The tailing padding bytes in struct bpf_common_attr should be
checked. [1]
2. There was a concurrent regression in syscall.c::map_create(). [2]
3. OPTS_VALID() was missing to validate the nested struct bpf_log_opts
in libbpf. [3]
4. The token_fd should be -1 to avoid a valid token fd in test. [4]
A test is added to verify the fix #1.
The fix #2 is hard to be verified by test. So, I decide not to add a test
for it to avoid over-engineering.
Decide not to add a test for fix #3 to avoid over-engineering, as the
fix looks really simple.
Links:
[1] https://lore.kernel.org/bpf/20260513224823.6494FC19425@smtp.kernel.org/
[2] https://lore.kernel.org/bpf/20260512233658.CEED7C2BCB0@smtp.kernel.org/
[3] https://lore.kernel.org/bpf/20260512235629.C5CABC2BCB0@smtp.kernel.org/
[4] https://lore.kernel.org/bpf/20260513003358.55836C2BCB0@smtp.kernel.org/
====================
Link: https://patch.msgid.link/20260518145446.6794-1-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
