Skip to content

Commit

Permalink
lib: Add ZCAP_IPC_LOCK
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
donaldsharp committed May 11, 2021
1 parent 449e54f commit 575a259
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/privs.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ static struct {
{
1, (pvalue_t[]){CAP_FOWNER},
},
[ZCAP_IPC_LOCK] =
{
1, (pvalue_t[]){CAP_IPC_LOCK},
},
#endif /* HAVE_LCAPS */
};

Expand Down
1 change: 1 addition & 0 deletions lib/privs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ typedef enum {
ZCAP_DAC_OVERRIDE,
ZCAP_READ_SEARCH,
ZCAP_FOWNER,
ZCAP_IPC_LOCK,
ZCAP_MAX
} zebra_capabilities_t;

Expand Down

0 comments on commit 575a259

Please sign in to comment.