diff options
author | Christian Seiler <christian@iwakd.de> | 2012-02-23 09:57:13 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@free.fr> | 2012-02-23 09:57:13 +0100 |
commit | 5170c716339cc57e4df2315f24abd18f7fc05d08 (patch) | |
tree | 339e529487f1abc411308202f6c940ae3a3c8299 | |
parent | Add function to determine CAP_LAST_CAP of the current kernel dynamically (diff) | |
download | lxc-5170c716339cc57e4df2315f24abd18f7fc05d08.tar.gz lxc-5170c716339cc57e4df2315f24abd18f7fc05d08.tar.bz2 lxc-5170c716339cc57e4df2315f24abd18f7fc05d08.zip |
Add CAP_SYSLOG and CAP_WAKE_ALARM to list of capabilities
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-rw-r--r-- | 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 5e41d38..c0d43d3 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, |