Skip to content

Commit

Permalink
Merge pull request #379 from smcv/no-new-typos
Browse files Browse the repository at this point in the history
Correct name of PR_SET_NO_NEW_PRIVS in error message
  • Loading branch information
cgwalters authored May 23, 2020
2 parents a9700fa + e8f67bc commit af30473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bubblewrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2247,7 +2247,7 @@ main (int argc,

/* Never gain any more privs during exec */
if (prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) < 0)
die_with_error ("prctl(PR_SET_NO_NEW_CAPS) failed");
die_with_error ("prctl(PR_SET_NO_NEW_PRIVS) failed");

/* The initial code is run with high permissions
(i.e. CAP_SYS_ADMIN), so take lots of care. */
Expand Down

0 comments on commit af30473

Please sign in to comment.