From: Christian Seiler Date: Thu, 23 Feb 2012 08:57:13 +0000 (+0100) Subject: Add CAP_SYSLOG and CAP_WAKE_ALARM to list of capabilities X-Git-Tag: lxc-0.8.0-rc2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5170c716339cc57e4df2315f24abd18f7fc05d08;p=thirdparty%2Flxc.git Add CAP_SYSLOG and CAP_WAKE_ALARM to list of capabilities Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 5e41d382c..c0d43d381 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -201,6 +201,12 @@ static struct caps_opt caps_opt[] = { { "setfcap", CAP_SETFCAP }, { "mac_override", CAP_MAC_OVERRIDE }, { "mac_admin", CAP_MAC_ADMIN }, +#ifdef CAP_SYSLOG + { "syslog", CAP_SYSLOG }, +#endif +#ifdef CAP_WAKE_ALARM + { "wake_alarm", CAP_WAKE_ALARM }, +#endif }; static int run_script(const char *name, const char *section,