diff options
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 7518477b7..0e3d722b7 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -761,7 +761,7 @@ int sandbox(void* sandbox_arg) { | |||
761 | int no_new_privs = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); | 761 | int no_new_privs = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); |
762 | 762 | ||
763 | if(no_new_privs != 0) | 763 | if(no_new_privs != 0) |
764 | errExit("NO_NEW_PRIVS"); | 764 | fprintf(stderr, "Warning: NO_NEW_PRIVS disabled, it requires a Linux kernel version 3.5 or newer.\n"); |
765 | else if (arg_debug) | 765 | else if (arg_debug) |
766 | printf("NO_NEW_PRIVS set\n"); | 766 | printf("NO_NEW_PRIVS set\n"); |
767 | } | 767 | } |