[lxc-devel] [PATCH 2/3] Add CAP_SYSLOG and CAP_WAKE_ALARM to list of capabilities
Christian Seiler
christian at iwakd.de
Wed Feb 1 16:12:09 UTC 2012
---
src/lxc/conf.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 1a9851e..3fbc0eb 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,
--
1.7.2.5
More information about the lxc-devel
mailing list