]> git.proxmox.com Git - mirror_lxc.git/commit
cgroups/cgfsng: rework cgroup2 unprivileged delegation
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 7 Dec 2019 20:51:58 +0000 (21:51 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 7 Dec 2019 23:13:37 +0000 (00:13 +0100)
commitd606c4e9d2c311f701ec904ca42f92be45633162
treee6c54b7f82179691729e0e3398f16c425d998e94
parent61fbc369f9ff0bf186971693cf420c6b0829ac49
cgroups/cgfsng: rework cgroup2 unprivileged delegation

We accidently checked files to delegate for privileged container and not for
unprivileged containers in the pure unified case. Fix that and clean up the
delegation file parsing.

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