diff --git a/lib/privs.c b/lib/privs.c index 49761af8716e..b3f51267d167 100644 --- a/lib/privs.c +++ b/lib/privs.c @@ -159,6 +159,10 @@ static struct { { 1, (pvalue_t[]){CAP_FOWNER}, }, + [ZCAP_IPC_LOCK] = + { + 1, (pvalue_t[]){CAP_IPC_LOCK}, + }, #endif /* HAVE_LCAPS */ }; diff --git a/lib/privs.h b/lib/privs.h index 2dcdbe2e6ca5..9f22d28cf8e3 100644 --- a/lib/privs.h +++ b/lib/privs.h @@ -44,6 +44,7 @@ typedef enum { ZCAP_DAC_OVERRIDE, ZCAP_READ_SEARCH, ZCAP_FOWNER, + ZCAP_IPC_LOCK, ZCAP_MAX } zebra_capabilities_t;