diff options
author | Yonghong Song <yonghong.song@linux.dev> | 2024-02-06 23:01:07 -0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-02-13 11:11:25 -0800 |
commit | fc1c9e40da37905f87c73711a1ecc57f52c1fe1c (patch) | |
tree | b952abe8f9f1f32783a44801d5e99973ee43b0a6 /tools/testing/selftests/bpf/progs/bpf_compiler.h | |
parent | 178c54666f9c4d2f49f2ea661d0c11b52f0ed190 (diff) |
selftests/bpf: Ensure fentry prog cannot attach to bpf_spin_{lock,unlcok}()
Add two tests to ensure fentry programs cannot attach to
bpf_spin_{lock,unlock}() helpers. The tracing_failure.c files
can be used in the future for other tracing failure cases.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240207070107.335341-1-yonghong.song@linux.dev
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_compiler.h')
0 files changed, 0 insertions, 0 deletions