]> git.ipfire.org Git - thirdparty/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)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 23 Aug 2018 20:43:57 +0000 (22:43 +0200)
commit673c8f0c46f276025ee779905dc4c6f81a16798e
treea86bf17e7cea7639915cf07174cdad4bd4f240a1
parent27abc1fea3db65c11bb1bd26612a544082f289c2
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