]> git.ipfire.org Git - thirdparty/lxc.git/commit
confile: forbid absolute paths in config items that modify the cgroup layout 3674/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Feb 2021 16:02:55 +0000 (17:02 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Feb 2021 17:08:56 +0000 (18:08 +0100)
commitf63ef155271b2848ae18fcdfb5550dddad9ec852
tree49933fdd9fa3e9e69ce197220220db2f4a382422
parent0a48ee66c6e982657584a7df7ddc621d1fed9487
confile: forbid absolute paths in config items that modify the cgroup layout

This is not a safety measure but merely is supposed to raise awareness that
these paths are always relative to the cgroup root as determined by
lxc.cgroup.relative.

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