summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-03 16:44:26 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-09-03 09:44:54 -0700
commitc1992ba73b0339166906eb2224494e04052a8150 (patch)
tree62a36cf2a1335d3e5385f1a2db6f459f0f897369 /scripts/Makefile.thinlto
parenta453d6e3b8e8e1a321c8744d6189d763af9287d0 (diff)
downloadlinux-c1992ba73b0339166906eb2224494e04052a8150.tar.gz
linux-c1992ba73b0339166906eb2224494e04052a8150.zip
selftests/bpf: Test sched_process_wait nullable argument
Add a load-time verifier test that dereferences argument 0 of the sched_process_wait tp_btf program without checking it. The test expects the nullable-pointer diagnostic, so it is accepted unexpectedly before the fix and rejected as expected after it. Add a successful control that checks the argument for NULL before the dereference. This ensures the nullable marking preserves legitimate access to the pid when the tracepoint supplies one. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20260903144433.1716731-9-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions