Skip to content

Commit 2ab9034

Browse files
Yonghong SongKernel Patches Daemon
authored andcommitted
selftests/bpf: Add two selftests for mprog API based cgroup progs
Two tests are added: - cgroup_mprog_opts, which mimics tc_opts.c ([1]). Both prog and link attach are tested. Some negative tests are also included. - cgroup_mprog_ordering, which actually runs the program with some mprog API flags. [1] https://github.com/torvalds/linux/blob/master/tools/testing/selftests/bpf/prog_tests/tc_opts.c Signed-off-by: Yonghong Song <[email protected]>
1 parent 35e9ad6 commit 2ab9034

File tree

3 files changed

+856
-0
lines changed

3 files changed

+856
-0
lines changed

0 commit comments

Comments
 (0)