]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgfsng: ensure no-reuse in cgfsng_monitor_create()
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 24 Sep 2018 09:04:04 +0000 (11:04 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 26 Sep 2018 12:11:47 +0000 (14:11 +0200)
commit5ce03bc048212feae5de5a3f41fe189bb7f9ee58
tree04637762ff5f3a6152042f24f7903a103ec18fd2
parent625ad37b595868abb9c82fcf8665f2b4af522b5c
cgfsng: ensure no-reuse in cgfsng_monitor_create()

The same way we need to ensure that no existing cgroups are reused for
the payload in cgfsng_payload_create() we need to ensure that no
existing cgroups are reused for the monitor. Technially this is less of
an issue since there currently is no logic for the monitor to apply
limits to its cgroup but it is still the proper way to do it.

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