diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2023-12-06 11:53:25 +0000 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-12-08 17:08:18 -0800 |
commit | f4199271dae12ae407fa739e7012914ea6b3f37b (patch) | |
tree | f45ea4d4106916951d18033bbe40d446916a779f /tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c | |
parent | 73d9eb340d2b95e0e86a656a7f3157c137f10129 (diff) |
selftests/bpf: Add a new cgroup helper open_classid()
This new helper allows us to obtain the fd of a net_cls cgroup, which will
be utilized in the subsequent patch.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20231206115326.4295-3-laoar.shao@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/cgrp_ls_recursion.c')
0 files changed, 0 insertions, 0 deletions