capabilities: Handle CAP_CHOWN specially as it might not be required

This commit is contained in:
Tobias Brunner
2013-06-25 17:16:33 +02:00
parent 9c354c659f
commit 1937538440
2 changed files with 63 additions and 2 deletions
+3
View File
@@ -32,6 +32,9 @@ typedef struct capabilities_t capabilities_t;
# include <linux/capability.h>
#endif
#ifndef CAP_CHOWN
# define CAP_CHOWN 0
#endif
#ifndef CAP_NET_BIND_SERVICE
# define CAP_NET_BIND_SERVICE 10
#endif