diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-09-03 23:47:52 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-09-03 19:22:52 -0700 |
| commit | 1ba0d0d8b6757eaf107f1f0fa0830c9585853db7 (patch) | |
| tree | c79f8494394449154532eafb0bd23e86eb6c007b /scripts/Makefile.thinlto | |
| parent | 9d02927fdf4e930893c92e35fed01a2704496900 (diff) | |
| download | linux-1ba0d0d8b6757eaf107f1f0fa0830c9585853db7.tar.gz linux-1ba0d0d8b6757eaf107f1f0fa0830c9585853db7.zip | |
selftests/bpf: Check faultable stack helper contexts
Add verifier coverage for the sleepable bpf_get_stack() and
bpf_get_task_stack() implementations. Call each helper while preemption is
disabled and require the verifier to reject it as sleepable.
Both programs load when the prototypes lack might_sleep, so the
expected-failure tests fail. Keep success controls outside the
non-preemptible region to ensure ordinary calls from sleepable uprobes
remain valid.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20260903214758.2727663-7-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
