Add additional system capabilities
diff --git a/lib/privs.c b/lib/privs.c
index 1902310..35e5a76 100644
--- a/lib/privs.c
+++ b/lib/privs.c
@@ -65,7 +65,11 @@
[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 6839c47..3cdd20d 100644
--- a/lib/privs.h
+++ b/lib/privs.h
@@ -32,10 +32,14 @@
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;