]> git.ipfire.org Git - thirdparty/lxc.git/commit
Enable get_cgroup_mount to search for mount points satisfying multiple subsystems...
authorChristian Seiler <christian@iwakd.de>
Thu, 23 Feb 2012 08:57:13 +0000 (09:57 +0100)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 23 Feb 2012 08:57:13 +0000 (09:57 +0100)
commit3ea24eb8e68ba18e215aec0f10d96f75b23c340b
tree8f3ee2bd30b9a0f6654bd145c54774402fcae2de
parente16dad106358ae045cdcb1d86fcf3c85ca76724f
Enable get_cgroup_mount to search for mount points satisfying multiple subsystems at once

lxc-attach functionality reads /proc/init_pid/cgroup to determine the cgroup
of the container for a given subsystem. However, since subsystems may be
mounted together, we want to be on the safe side and be sure that we really
find the correct mount point, so we allow get_cgroup_mount to check for
*all* the subsystems; the subsystem parameter may now be a comma-separated
list.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/cgroup.c