diff options
author | Martin Willi <martin@revosec.ch> | 2013-05-08 14:58:59 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-05-15 17:20:47 +0200 |
commit | e8b2ce1e72c8bbda10ac5c51615bfb3e2d7899da (patch) | |
tree | 473fd6deb7b364c4516440abb7d5a3e885faccfc /src | |
parent | b1bd63547bce3ec97fb0eace033969dcaf0ea59e (diff) | |
download | strongswan-e8b2ce1e72c8bbda10ac5c51615bfb3e2d7899da.tar.bz2 strongswan-e8b2ce1e72c8bbda10ac5c51615bfb3e2d7899da.tar.xz |
capabilities: leak-detective using dlsym() does not need CAP_SYS_NICE anymore
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/utils/capabilities.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstrongswan/utils/capabilities.c b/src/libstrongswan/utils/capabilities.c index c58ce2fdf..89f47820e 100644 --- a/src/libstrongswan/utils/capabilities.c +++ b/src/libstrongswan/utils/capabilities.c @@ -309,15 +309,9 @@ capabilities_t *capabilities_create() }, ); -#ifdef CAPABILITIES #ifdef CAPABILITIES_LIBCAP this->caps = cap_init(); #endif /* CAPABILITIES_LIBCAP */ - if (lib->leak_detective) - { - keep(this, CAP_SYS_NICE); - } -#endif /* CAPABILITIES */ #ifdef EMULATE_R_FUNCS this->mutex = mutex_create(MUTEX_TYPE_DEFAULT); |