diff options
| author | Varun R Mallya <varunrmallya@gmail.com> | 2026-04-09 00:31:37 +0530 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-08 18:15:56 -0700 |
| commit | c7cab53f9d5273f0cf2a26bdf178c4e074bdfb50 (patch) | |
| tree | 35bc78c048a8b305e7b8c5b8cd08e28d35d06f2b /kernel | |
| parent | 4f64d5b66418b7f5967b7f7614d6107bb1fba705 (diff) | |
selftests/bpf: Add test to ensure kprobe_multi is not sleepable
Add a selftest to ensure that kprobe_multi programs cannot be attached
using the BPF_F_SLEEPABLE flag. This test succeeds when the kernel
rejects attachment of kprobe_multi when the BPF_F_SLEEPABLE flag is set.
Suggested-by: Leon Hwang <leon.hwang@linux.dev>
Signed-off-by: Varun R Mallya <varunrmallya@gmail.com>
Link: https://lore.kernel.org/r/20260408190137.101418-3-varunrmallya@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
