https://github.com/torvalds/linux
Revision bf35a7879f1dfb0d050fe779168bcf25c7de66f5 authored by Tejun Heo on 06 January 2022, 21:02:29 UTC, committed by Tejun Heo on 06 January 2022, 21:02:29 UTC
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>
1 parent 613e040
History
Tip revision: bf35a7879f1dfb0d050fe779168bcf25c7de66f5 authored by Tejun Heo on 06 January 2022, 21:02:29 UTC
selftests: cgroup: Test open-time cgroup namespace usage for migration checks
Tip revision: bf35a78
File Mode Size
.gitignore -rw-r--r-- 85 bytes
Kconfig -rw-r--r-- 4.8 KB
Makefile -rw-r--r-- 5.5 KB
blacklist.c -rw-r--r-- 5.7 KB
blacklist.h -rw-r--r-- 135 bytes
blacklist_hashes.c -rw-r--r-- 166 bytes
blacklist_nohashes.c -rw-r--r-- 122 bytes
common.c -rw-r--r-- 1.2 KB
common.h -rw-r--r-- 216 bytes
revocation_certificates.S -rw-r--r-- 495 bytes
system_certificates.S -rw-r--r-- 1.1 KB
system_keyring.c -rw-r--r-- 8.5 KB

back to top