diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-09-26 15:30:43 +0200 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-09-30 14:02:04 +0200 |
| commit | 8295510622f35cf5721d412ec7d3c223f929ebea (patch) | |
| tree | eaecc3f108f4713f2885b24312924e3cfa03d7e0 /include/linux/timerqueue.h | |
| parent | acff58e305175df35985082b0e79103a2497f702 (diff) | |
| download | linux-next-8295510622f35cf5721d412ec7d3c223f929ebea.tar.gz linux-next-8295510622f35cf5721d412ec7d3c223f929ebea.zip | |
selftests/bpf: Test non-sleepable kfunc context
A sleepable kfunc call can be rejected because the program itself is
not sleepable or because a sleepable program is inside an active
critical section.
Exercise the two causes separately. Call a sleepable kfunc directly
from a non-sleepable tracing program, then call it from a sleepable
tracing program inside an RCU read-side critical section. Assert both
the legacy verifier messages and the structured reasons.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/2e42a1a2bf45f4d2aba7495bdc9f147558055740e2f3c8b9dae255f6c57fc13c@mail.kernel.org/
Link: https://lore.kernel.org/r/20260924170646.2366016-6-memxor@gmail.com
Link: https://lore.kernel.org/bpf/20260926133048.2962553-2-memxor@gmail.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
