aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tracing_struct.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2024-10-22 20:06:41 +0000
committerMartin KaFai Lau <[email protected]>2024-10-22 20:41:43 +0000
commitefe7921927dc01cffdaff623ef51609e1be5058a (patch)
tree5cd134e758f92185c92217bbcb91e03bc678b94a /tools/testing/selftests/bpf/prog_tests/tracing_struct.c
parentMerge branch 'implement-mechanism-to-signal-other-threads' (diff)
parentselftests/bpf: Retire test_sock.c (diff)
downloadkernel-efe7921927dc01cffdaff623ef51609e1be5058a.tar.gz
kernel-efe7921927dc01cffdaff623ef51609e1be5058a.zip
Merge branch 'Retire test_sock.c'
Jordan Rife says: ==================== This patch series migrates test cases out of test_sock.c to prog_tests-style tests. It moves all BPF_CGROUP_INET4_POST_BIND and BPF_CGROUP_INET6_POST_BIND test cases into a new prog_test, sock_post_bind.c, while reimplementing all LOAD_REJECT test cases as verifier tests in progs/verifier_sock.c. Finally, it moves remaining BPF_CGROUP_INET_SOCK_CREATE test coverage into prog_tests/sock_create.c before retiring test_sock.c completely. Changes ======= v1->v2: - Remove superfluous verbose bool from the top of sock_post_bind.c. - Use ASSERT_OK_FD instead of ASSERT_GE to test cgroup_fd validity. - Run sock_post_bind tests in their own namespace, "sock_post_bind". ==================== Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions