summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSerge Hallyn <serge.hallyn@ubuntu.com>2016-01-29 02:54:11 -0600
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:50 +0300
commit4235f35d858d7855ebc7383152cf55e98428d52f (patch)
tree7b9cf20f9342e28fbc0601d36ea6a1d1f8c37a32 /tools/perf/scripts/python
parent1a8324853337b2c12516c21150bf42be04d1e1af (diff)
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> Signed-off-by: Chatur27 <jasonbright2709@gmail.com> Change-Id: I9079d9fd23cae67ce7fc223ad8d6fc3db97536db
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions