• Michal Koutný's avatar
    selftests: cgroup: Add cpuset migrations testcase · cd3c6f68
    Michal Koutný authored
    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: default avatarMichal Koutný <mkoutny@suse.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    cd3c6f68
test_cpuset.c 6.62 KB