Skip to content

Commit

Permalink
Merge pull request #8661 from donaldsharp/more_privs
Browse files Browse the repository at this point in the history
lib: Add ZCAP_IPC_LOCK
  • Loading branch information
Mark Stapp authored May 12, 2021
2 parents 03b682b + 575a259 commit 58ba064
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 58ba064

Please sign in to comment.