]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Add CAP_SYSLOG and CAP_WAKE_ALARM to list of capabilities
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)
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c

index 5e41d382ce61d535bce7a9509de5b3e5a867fd34..c0d43d381b96b328ce228431558f9beb4a41684f 100644 (file)
@@ -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,