diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-11-14 08:56:56 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-11-14 08:59:43 -0800 |
commit | 81427a62a22148cdc85db38a6fbe487d0d2044b6 (patch) | |
tree | b01a069094a5238f3a5e6dcf828870c7a3b6d4dd /tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c | |
parent | 727a92d62fd6a382b4c5972008e45667e707b0e4 (diff) | |
parent | 360769233cc9c921e90ae387d167ea3cd3cbb04c (diff) |
Merge branch 'bpf-add-support-for-cgroup1-bpf-part'
Yafang Shao says:
====================
bpf: Add support for cgroup1, BPF part
This is the BPF part of the series "bpf, cgroup: Add BPF support for
cgroup1 hierarchy" with adjustment in the last two patches compared
to the previous one.
v3->v4:
- use subsys_name instead of cgrp_name in get_cgroup_hierarchy_id()
(Tejun)
- use local bpf_link instead of modifying the skeleton in the
selftests
v3: https://lwn.net/Articles/949264/
====================
Link: https://lore.kernel.org/r/20231111090034.4248-1-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c')
-rw-r--r-- | tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c b/tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c index 9026b42914d3..addf720428f7 100644 --- a/tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c +++ b/tools/testing/selftests/bpf/prog_tests/cgroup_v1v2.c @@ -71,7 +71,7 @@ void test_cgroup_v1v2(void) } ASSERT_OK(run_test(cgroup_fd, server_fd, false), "cgroup-v2-only"); setup_classid_environment(); - set_classid(42); + set_classid(); ASSERT_OK(run_test(cgroup_fd, server_fd, true), "cgroup-v1v2"); cleanup_classid_environment(); close(server_fd); |