From 0c57fcc731b78949b26f7f12e13b7d725db362f5 Mon Sep 17 00:00:00 2001 From: Anuradha Karuppiah Date: Mon, 3 Jan 2022 11:48:20 -0800 Subject: [PATCH] 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 --- zebra/main.c | 6 +++--- 1 file 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 = {