mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:22:07 +00:00
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:
parent
92b06d6bdd
commit
0c57fcc731
@ -105,9 +105,9 @@ const struct option longopts[] = {
|
|||||||
#endif /* HAVE_NETLINK */
|
#endif /* HAVE_NETLINK */
|
||||||
{0}};
|
{0}};
|
||||||
|
|
||||||
zebra_capabilities_t _caps_p[] = {
|
zebra_capabilities_t _caps_p[] = {ZCAP_NET_ADMIN, ZCAP_SYS_ADMIN,
|
||||||
ZCAP_NET_ADMIN, ZCAP_SYS_ADMIN, ZCAP_NET_RAW,
|
ZCAP_NET_RAW, ZCAP_IPC_LOCK,
|
||||||
};
|
ZCAP_READ_SEARCH, ZCAP_SYS_RAWIO};
|
||||||
|
|
||||||
/* zebra privileges to run with */
|
/* zebra privileges to run with */
|
||||||
struct zebra_privs_t zserv_privs = {
|
struct zebra_privs_t zserv_privs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user