diff options
-rw-r--r-- | src/charon/daemon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/charon/daemon.c b/src/charon/daemon.c index 56b737ad6..c9c632def 100644 --- a/src/charon/daemon.c +++ b/src/charon/daemon.c @@ -251,8 +251,7 @@ static void drop_capabilities(private_daemon_t *this, bool full) hdr.version = _LINUX_CAPABILITY_VERSION; hdr.pid = 0; - data.effective = data.permitted = keep; - data.inheritable = 0; + data.inheritable = data.effective = data.permitted = keep; if (capset(&hdr, &data)) { |