]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroups: modify cgroup2 attach logic
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 23 Feb 2022 14:40:20 +0000 (15:40 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 24 Feb 2022 16:33:16 +0000 (11:33 -0500)
commit5ba5725cb4a210c25707beeca64fde5f561d1c71
treeba1ac00489c255f93f1becffbe6ec59e4af90361
parent1e4631641ec878d07a502a440b40b683ac936ca5
cgroups: modify cgroup2 attach logic

Recent kernels have seen various permission checking fixes when moving
processes into cgroups. So we're forced to modify how we attach to
containers.

Link: https://discuss.linuxcontainers.org/t/lxd-4-23-unable-to-start-nested-containers
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c