History log of /linux-master/tools/testing/selftests/cgroup/test_cpuset.c
Revision Date Author Comments
# cd3c6f68 03-Jul-2023 Michal Koutný <mkoutny@suse.com>

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>