diff options
| author | Michal Koutný <mkoutny@suse.com> | 2023-07-03 19:27:41 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2023-07-10 10:29:53 -1000 |
| commit | cd3c6f682df4df7de74a364c34b3b10f84db271b (patch) | |
| tree | fe8fdead88397e9625093476ff8d0641bbc2d982 /tools/testing/selftests/cgroup/Makefile | |
| parent | 12101424d7d26131495bafc2ecfa17d39b8e3c64 (diff) | |
| download | linux-next-cd3c6f682df4df7de74a364c34b3b10f84db271b.tar.gz linux-next-cd3c6f682df4df7de74a364c34b3b10f84db271b.zip | |
selftests: cgroup: Add cpuset migrations testcase
Add a separate testfile to verify treating permissions when tasks are
migrated on cgroup v2 hierarchy between cpuset cgroups.
In accordance with v2 design, migration should be allowed based on
delegation boundaries (i.e. cgroup.procs permissions) and does not
depend on the migrated object (i.e. unprivileged process can migrate
another process (even privileged) as long as it remains in the original
dedicated scope).
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cgroup/Makefile')
| -rw-r--r-- | tools/testing/selftests/cgroup/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/cgroup/Makefile b/tools/testing/selftests/cgroup/Makefile index 3d263747d2ad..dee0f013c7f4 100644 --- a/tools/testing/selftests/cgroup/Makefile +++ b/tools/testing/selftests/cgroup/Makefile @@ -12,6 +12,7 @@ TEST_GEN_PROGS += test_core TEST_GEN_PROGS += test_freezer TEST_GEN_PROGS += test_kill TEST_GEN_PROGS += test_cpu +TEST_GEN_PROGS += test_cpuset LOCAL_HDRS += $(selfdir)/clone3/clone3_selftests.h $(selfdir)/pidfd/pidfd.h @@ -23,3 +24,4 @@ $(OUTPUT)/test_core: cgroup_util.c $(OUTPUT)/test_freezer: cgroup_util.c $(OUTPUT)/test_kill: cgroup_util.c $(OUTPUT)/test_cpu: cgroup_util.c +$(OUTPUT)/test_cpuset: cgroup_util.c |
