]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroups: modify cgroup2 attach logic 4090/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 23 Feb 2022 14:40:20 +0000 (15:40 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 23 Feb 2022 14:58:27 +0000 (15:58 +0100)
commit2e67b0d47f74302f607edf9611c901a3369a4b01
treec50c85d3c00718be18a8046fa75c236e6421d393
parent642052d58c708aa497c41ba2fc734e80a3aca03f
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