aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/daemon.c')
-rw-r--r--src/charon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/daemon.c b/src/charon/daemon.c
index 3120cc2eb..12fc2061a 100644
--- a/src/charon/daemon.c
+++ b/src/charon/daemon.c
@@ -233,7 +233,7 @@ static void drop_capabilities(private_daemon_t *this, bool full)
struct __user_cap_data_struct data;
/* CAP_NET_ADMIN is needed to use netlink */
- u_int32_t keep = (1<<CAP_NET_ADMIN);
+ u_int32_t keep = (1<<CAP_NET_ADMIN) | (1<<CAP_SYS_NICE);
if (full)
{