]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Add ZCAP_IPC_LOCK 8661/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 11 May 2021 23:50:07 +0000 (19:50 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 11 May 2021 23:54:40 +0000 (19:54 -0400)
We'll need ZCAP_IPC_LOCK for future work coming down the pike
related to dataplane work being done.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/privs.c
lib/privs.h

index 49761af8716e209fd8aa284511c2f388bc2ac0bf..b3f51267d16716e4a56d334afea64bc40bf5e0ad 100644 (file)
@@ -159,6 +159,10 @@ static struct {
                        {
                                1, (pvalue_t[]){CAP_FOWNER},
                        },
+               [ZCAP_IPC_LOCK] =
+                       {
+                               1, (pvalue_t[]){CAP_IPC_LOCK},
+                       },
 #endif /* HAVE_LCAPS */
 };
 
index 2dcdbe2e6ca5cf534aab1251a142c31be8ada5ff..9f22d28cf8e34deeafc311bf6e011f05f3c997a0 100644 (file)
@@ -44,6 +44,7 @@ typedef enum {
        ZCAP_DAC_OVERRIDE,
        ZCAP_READ_SEARCH,
        ZCAP_FOWNER,
+       ZCAP_IPC_LOCK,
        ZCAP_MAX
 } zebra_capabilities_t;