Skip to content
Commit d3be641a authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

cgroups: get controllers from /proc/self/cgroups (v2)

Some controllers can be disabled in kernel options. In this case they
are shown in /proc/cgroups, but they could not be mounted.

All enabled controllers can be collected from /proc/self/cgroup.

https://github.com/xemul/criu/issues/28



v2: ',' is used to separate controllers

Cc: Tycho Andersen <tycho.andersen@canonical.com>
Reported-by: default avatarRoss Boucher <boucher@gmail.com>
Signed-off-by: default avatarAndrey Vagin <avagin@openvz.org>
Acked-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 5db3f4c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment