aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/daemon.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-04-03 09:24:35 +0000
committerTobias Brunner <tobias@strongswan.org>2008-04-03 09:24:35 +0000
commit84b18d5fc7ff637eef76e79d2244b98a4a779675 (patch)
tree2883e69f783d363a6ebebea4e3f5891757fd1a93 /src/charon/daemon.c
parent8e91a36314de3c5547705bfe46197b8e0530ee6a (diff)
downloadstrongswan-84b18d5fc7ff637eef76e79d2244b98a4a779675.tar.bz2
strongswan-84b18d5fc7ff637eef76e79d2244b98a4a779675.tar.xz
replaced mutex in leak detective with thread scheduling
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)
{