diff options
author | Tejun Heo <tj@kernel.org> | 2022-01-07 00:02:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-13 21:59:27 +0300 |
commit | 4693fce5a5d461ed6cdcce12ec37bbf5cabab699 (patch) | |
tree | 028b3d657fe16665c8d64988d00e1f3504def6b7 /mm | |
parent | 47802775bc119658e59199d859ba31d62dc5e826 (diff) | |
download | linux-4693fce5a5d461ed6cdcce12ec37bbf5cabab699.tar.xz |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions