OrangePi_CM5/tools/testing/selftests/cgroup
Tejun Heo 919823bd67 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
commit bf35a7879f1dfb0d050fe779168bcf25c7de66f5 upstream.

When a task is writing to an fd opened by a different task, the perm check
should use the cgroup namespace of the latter task. Add a test for it.

Tested-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-13 21:01:10 +02:00
..
.gitignore
…
Makefile
…
cgroup_util.c selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 2022-04-13 21:01:10 +02:00
cgroup_util.h
…
test_core.c selftests: cgroup: Test open-time cgroup namespace usage for migration checks 2022-04-13 21:01:10 +02:00
test_freezer.c
…
test_kmem.c
…
test_memcontrol.c
…
test_stress.sh
…
with_stress.sh
…