linux/tools/testing/selftests/bpf/bpf_testmod
Martin KaFai Lau 4009c95fed selftests/bpf: Ensure the unsupported struct_ops prog cannot be loaded
There is an existing "bpf_tcp_ca/unsupp_cong_op" test to ensure
the unsupported tcp-cc "get_info" struct_ops prog cannot be loaded.

This patch adds a new test in the bpf_testmod such that the
unsupported ops test does not depend on other kernel subsystem
where its supporting ops may be changed in the future.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20240722183049.2254692-4-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
2024-07-29 13:09:10 -07:00
..
.gitignore
bpf_testmod_kfunc.h selftests/bpf: Add kfunc_call test for simple dtor in bpf_testmod 2024-06-21 14:46:29 -07:00
bpf_testmod-events.h bpf/selftests: Add test for writable bare tracepoint 2021-10-08 13:22:57 -07:00
bpf_testmod.c selftests/bpf: Fix the missing tramp_1 to tramp_40 ops in cfi_stubs 2024-07-29 13:08:56 -07:00
bpf_testmod.h selftests/bpf: Ensure the unsupported struct_ops prog cannot be loaded 2024-07-29 13:09:10 -07:00
Makefile