summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_tc_tunnel.c
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2024-02-06 23:01:07 -0800
committerAndrii Nakryiko <andrii@kernel.org>2024-02-13 11:11:25 -0800
commitfc1c9e40da37905f87c73711a1ecc57f52c1fe1c (patch)
treeb952abe8f9f1f32783a44801d5e99973ee43b0a6 /tools/testing/selftests/bpf/progs/test_tc_tunnel.c
parent178c54666f9c4d2f49f2ea661d0c11b52f0ed190 (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/test_tc_tunnel.c')
0 files changed, 0 insertions, 0 deletions