summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-03 16:44:20 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-09-03 09:44:50 -0700
commitd7719a1736e6be77d0682f7395acd3701949f1fa (patch)
tree90a25e5b8e1e1c491e23425c47ab2160531c261e /scripts/Makefile.thinlto
parent77515ab12e4983e6416f8c35039a3f0c0822ac70 (diff)
downloadlinux-d7719a1736e6be77d0682f7395acd3701949f1fa.tar.gz
linux-d7719a1736e6be77d0682f7395acd3701949f1fa.zip
selftests/bpf: Cover signal tracepoint siginfo sentinels
Add load-only verifier coverage for the signal_generate and signal_deliver info arguments. The signal_generate case performs a NULL check before dereferencing info, ensuring that merely making it nullable cannot satisfy the test when the nonzero SEND_SIG_PRIV sentinel is used. Both programs load successfully without the verifier fix, contrary to their expected-failure annotations. With the fix, info is a scalar and the attempted dereferences are rejected. Also add success cases showing that plain raw tracepoint and tp_btf programs can continue to read and compare the context word as a scalar. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20260903144433.1716731-3-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions