replaced mutex in leak detective with thread scheduling

This commit is contained in:
Tobias Brunner
2008-04-03 09:24:35 +00:00
parent 8e91a36314
commit 84b18d5fc7
2 changed files with 37 additions and 19 deletions
+1 -1
View File
@@ -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)
{