diff options
author | paul <paul> | 2003-05-22 02:35:52 +0000 |
---|---|---|
committer | paul <paul> | 2003-05-22 02:35:52 +0000 |
commit | 8d6b00e4f34dfb6f627b49713bf80b0745b50abc (patch) | |
tree | ac75a46e6aea59d3e91b86d81c44d94462fd3396 | |
parent | 3dec2de3eecd475db69ec3746a631ec1591d08a5 (diff) |
Add additional system capabilities
-rw-r--r-- | lib/privs.c | 6 | ||||
-rw-r--r-- | lib/privs.h | 4 |
2 files changed, 9 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 }; diff --git a/lib/privs.h b/lib/privs.h index 6839c479..3cdd20da 100644 --- a/lib/privs.h +++ b/lib/privs.h @@ -32,10 +32,14 @@ typedef enum ZCAP_BIND, ZCAP_BROADCAST, ZCAP_ADMIN, + ZCAP_SYS_ADMIN, ZCAP_RAW, ZCAP_CHROOT, ZCAP_NICE, ZCAP_PTRACE, + ZCAP_DAC_OVERRIDE, + ZCAP_READ_SEARCH, + ZCAP_FOWNER, ZCAP_MAX } zebra_capabilities_t; |