summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-03 16:44:28 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-09-03 09:44:56 -0700
commit26a3a510cd3433e15f37ea1d5a6f2c17a0170316 (patch)
tree8ea6a628210202aa7fb0537e3caa5f2a11fe70ac /scripts/Makefile.thinlto
parentd05524794240b52fdc3b6c1220dd05505715824d (diff)
downloadlinux-26a3a510cd3433e15f37ea1d5a6f2c17a0170316.tar.gz
linux-26a3a510cd3433e15f37ea1d5a6f2c17a0170316.zip
selftests/bpf: Check syscall helpers in timer callbacks
A BPF_PROG_TYPE_SYSCALL program is sleepable, but its bpf_timer callbacks run in a non-sleepable hrtimer softirq context. Add verifier cases that call bpf_sys_bpf() and bpf_sys_close() from timer callbacks. Without the syscall helper prototype annotations these programs load, so their failure expectations expose the bug. Also add successful controls that call each helper from the syscall program main body, ensuring that the intended sleepable use remains accepted. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20260903144433.1716731-11-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions