CAP_BLOCK_SUSPEND (since Linux 3.5) Employ features that can block system suspend (epoll(7) EPOLLWAKEUP, /proc/sys/wake_lock).
Signed-off-by: Christian Brauner <christianvanbrau...@gmail.com> --- src/lxc/conf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 6665546..53057de 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -302,6 +302,9 @@ static struct caps_opt caps_opt[] = { #ifdef CAP_WAKE_ALARM { "wake_alarm", CAP_WAKE_ALARM }, #endif +#ifdef CAP_BLOCK_SUSPEND + { "block_suspend", CAP_BLOCK_SUSPEND }, +#endif }; #else static struct caps_opt caps_opt[] = {}; -- 2.5.3 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel