]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroupfs: rework cgroup2 mounting 3673/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Feb 2021 14:07:02 +0000 (15:07 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Feb 2021 15:25:38 +0000 (16:25 +0100)
commita3e5ec2657e90319f375b2494dd3870a2b53ca46
tree0883d83fced0e9688a40b6deb3af3cfe477917cb
parent3a86fb378d0bab76d14788ed2487cc4ff5f4cd4a
cgroupfs: rework cgroup2 mounting

We now explicitly refuse to mount cgroups on pure unified layouts when the
container is not running in a separate cgroup namespace. This is not a
regression since we simply always failed before anyway. I will likely fix this
very soon though. But there are bigger fish to fry currently.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c