summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/privs.c6
-rw-r--r--lib/privs.h4
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;