summaryrefslogtreecommitdiff
path: root/lib/privs.c
diff options
context:
space:
mode:
authorpaul <paul>2003-05-22 02:35:52 +0000
committerpaul <paul>2003-05-22 02:35:52 +0000
commit8d6b00e4f34dfb6f627b49713bf80b0745b50abc (patch)
treeac75a46e6aea59d3e91b86d81c44d94462fd3396 /lib/privs.c
parent3dec2de3eecd475db69ec3746a631ec1591d08a5 (diff)
Add additional system capabilities
Diffstat (limited to 'lib/privs.c')
-rw-r--r--lib/privs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/privs.c b/lib/privs.c
index 1902310d..35e5a76b 100644
--- a/lib/privs.c
+++ b/lib/privs.c
@@ -65,7 +65,11 @@ cap_map [ZCAP_MAX] =
[ZCAP_RAW] = CAP_NET_RAW,
[ZCAP_CHROOT] = CAP_SYS_CHROOT,
[ZCAP_NICE] = CAP_SYS_NICE,
- [ZCAP_PTRACE] = CAP_SYS_PTRACE
+ [ZCAP_PTRACE] = CAP_SYS_PTRACE,
+ [ZCAP_DAC_OVERRIDE] = CAP_DAC_OVERRIDE,
+ [ZCAP_READ_SEARCH] = CAP_DAC_READ_SEARCH,
+ [ZCAP_SYS_ADMIN] = CAP_SYS_ADMIN,
+ [ZCAP_FOWNER] = ZCAP_FOWNER
};
static cap_value_t cap_setuid_value [] = { CAP_SETUID };