summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSerge Hallyn <serge.hallyn@ubuntu.com>2016-01-29 09:54:11 +0100
committerTejun Heo <tj@kernel.org>2016-02-16 19:04:59 +0100
commit1c53753e0df1ae4d21661053459e7c024a43f1d3 (patch)
tree8db1a6a6839550d0ff87a31a5efd20d6284aa0fe /scripts
parentcgroup: Add documentation for cgroup namespaces (diff)
downloadlinux-1c53753e0df1ae4d21661053459e7c024a43f1d3.tar.xz
linux-1c53753e0df1ae4d21661053459e7c024a43f1d3.zip
Add FS_USERNS_FLAG to cgroup fs
allowing root in a non-init user namespace to mount it. This should now be safe, because 1. non-init-root cannot mount a previously unbound subsystem 2. the task doing the mount must be privileged with respect to the user namespace owning the cgroup namespace 3. the mounted subsystem will have its current cgroup as the root dentry. the permissions will be unchanged, so tasks will receive no new privilege over the cgroups which they did not have on the original mounts. Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions