summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@nvidia.com>2022-01-03 11:48:20 -0800
committerDonald Sharp <sharpd@nvidia.com>2022-06-27 07:56:55 -0400
commit0c57fcc731b78949b26f7f12e13b7d725db362f5 (patch)
treef863cf54777df9b2378f9c79dbfd842a896011eb /zebra/main.c
parent92b06d6bddbcf1336131652f0fe1cfbf0aa64ecb (diff)
zebra: add ipc_lock, read_search and sys_rawio to zebra's privileges
These are needed for dpdk:rte_eal_init. Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 87f3de2d97..2d492f8649 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -105,9 +105,9 @@ const struct option longopts[] = {
#endif /* HAVE_NETLINK */
{0}};
-zebra_capabilities_t _caps_p[] = {
- ZCAP_NET_ADMIN, ZCAP_SYS_ADMIN, ZCAP_NET_RAW,
-};
+zebra_capabilities_t _caps_p[] = {ZCAP_NET_ADMIN, ZCAP_SYS_ADMIN,
+ ZCAP_NET_RAW, ZCAP_IPC_LOCK,
+ ZCAP_READ_SEARCH, ZCAP_SYS_RAWIO};
/* zebra privileges to run with */
struct zebra_privs_t zserv_privs = {