diff options
author | Aditya Kali <adityakali@google.com> | 2016-01-29 02:54:07 -0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-02-16 13:04:58 -0500 |
commit | a0530e087e648263f81a81d62ca020f66b54bcb0 (patch) | |
tree | 64b8708f51ebfb707a0f825c397315837c86394b /fs/kernfs | |
parent | a79a908fd2b080977b45bf103184b81c9d11ad07 (diff) | |
download | linux-a0530e087e648263f81a81d62ca020f66b54bcb0.tar.bz2 |
cgroup: cgroup namespace setns support
setns on a cgroup namespace is allowed only if
task has CAP_SYS_ADMIN in its current user-namespace and
over the user-namespace associated with target cgroupns.
No implicit cgroup changes happen with attaching to another
cgroupns. It is expected that the somone moves the attaching
process under the target cgroupns-root.
Signed-off-by: Aditya Kali <adityakali@google.com>
Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions