diff options
| author | Serge Hallyn <serge.hallyn@ubuntu.com> | 2016-01-29 02:54:09 -0600 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:50 +0300 |
| commit | 1a8324853337b2c12516c21150bf42be04d1e1af (patch) | |
| tree | b08a3949ce83cdaabc3cc8b9e1b3be6ad126cda2 /tools/perf/scripts/python | |
| parent | 2a297a519a3a5a6e60a8589d67fcb7021e7362d2 (diff) | |
cgroup: mount cgroupns-root when inside non-init cgroupns
This patch enables cgroup mounting inside userns when a process
as appropriate privileges. The cgroup filesystem mounted is
rooted at the cgroupns-root. Thus, in a container-setup, only
the hierarchy under the cgroupns-root is exposed inside the container.
This allows container management tools to run inside the containers
without depending on any global state.
Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Change-Id: I2e1d1c127f4600e43f29877326fbf7e6a84f1459
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
