blob: 880f14fbd601f6898975c561abe82d514d793680 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/core/mwcollect.cpp.old 2005-11-01 01:51:39.000000000 +0900
+++ src/core/mwcollect.cpp 2005-11-01 01:51:52.000000000 +0900
@@ -284,7 +284,7 @@
#ifdef LINUX_FLAVOURED
{ // we still may need to bind ports < 1024 / create raw sockets
cap_t capCapabilities = cap_init();
- cap_value_t cvValues[] = { CAP_NET_RAW, CAP_NET_BIND_SERVICE, };
+ cap_value_t cvValues[] = { CAP_NET_RAW, CAP_NET_BIND_SERVICE, CAP_SETUID, };
cap_set_flag(capCapabilities, CAP_PERMITTED, sizeof(cvValues) / sizeof(cap_value_t), cvValues, CAP_SET);
cap_set_flag(capCapabilities, CAP_INHERITABLE, sizeof(cvValues) / sizeof(cap_value_t), cvValues, CAP_SET);
|