From 57b837e247434bac3ca326049ce7d386eee11d26 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 27 Sep 2015 12:16:54 +0200 Subject: [PATCH] Add CAP_AUDIT_READ CAP_AUDIT_READ (since Linux 3.16) Allow reading the audit log via a multicast netlink socket. Signed-off-by: Christian Brauner Acked-by: Serge E. Hallyn --- src/lxc/conf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 1b7179540..666554601 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -284,6 +284,9 @@ static struct caps_opt caps_opt[] = { { "sys_tty_config", CAP_SYS_TTY_CONFIG }, { "mknod", CAP_MKNOD }, { "lease", CAP_LEASE }, +#ifdef CAP_AUDIT_READ + { "audit_read", CAP_AUDIT_READ }, +#endif #ifdef CAP_AUDIT_WRITE { "audit_write", CAP_AUDIT_WRITE }, #endif -- 2.47.2