]> git.proxmox.com Git - mirror_lxc.git/commit
cgroups: don't escape if we're not real root
authorTycho Andersen <tycho@tycho.ws>
Tue, 13 Mar 2018 15:57:10 +0000 (15:57 +0000)
committerTycho Andersen <tycho@tycho.ws>
Tue, 13 Mar 2018 15:57:10 +0000 (15:57 +0000)
commit8d961e28f1d759669b477a659cbb694aaa2af915
tree8624e5ec2efd003cc886e547f47e1a644c50b6a8
parente3bc3b864567be3f2979521c8a329b0977134829
cgroups: don't escape if we're not real root

If we're host unpriv but root in our userns, we can't really escape
cgroups. Let's switch the cgroup escape test to reflect this.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/cgroups/cgfsng.c