Correct name of PR_SET_NO_NEW_PRIVS in error message
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user