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>
This commit is contained in:
Anuradha Karuppiah 2022-01-03 11:48:20 -08:00 committed by Donald Sharp
parent 92b06d6bdd
commit 0c57fcc731

View File

@ -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 = {