]> git.ipfire.org Git - thirdparty/lxc.git/commit
commands: simplify lxc_cmd_get_cgroup_ctx()
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 24 Feb 2021 08:47:40 +0000 (09:47 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 24 Feb 2021 08:47:40 +0000 (09:47 +0100)
commitbce2970f8071dcd2f0db71a8a94f1243073464db
tree8cd72a204f0d1d5cfa62ae9aff5e1711718a4512
parentac5eacc62e3e9a33972cce40e693db2fb7f5e5c3
commands: simplify lxc_cmd_get_cgroup_ctx()

Instead of allowing individual hierarchy fd retrieval through
lxc_cmd_get_cgroup_ctx() let's add a dedicated method instead.

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