]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroups: add cgroup_freeze() and cgroup_unfreeze()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 2 Feb 2021 17:27:12 +0000 (18:27 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 2 Feb 2021 17:56:23 +0000 (18:56 +0100)
commitc8af3332bc70f6b8a0c733a4c89ee6d657cc8379
treedc2ee03896e2a25b2da007c38c5d94e78b4baf62
parent419847a8aaa6383ea2859b666d3b22b361b76efd
cgroups: add cgroup_freeze() and cgroup_unfreeze()

These are unified hierarchy only methods which don't need to initialize a full
cgroup driver. Instead, they rely on the command socket to retrieve a cgroup2
file descriptor to the container's cgroup.

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