aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/seccomp.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-07-03 19:55:47 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-07-03 19:55:47 -0400
commit8cc23dbc8f6b48a3d7eb3cfe8d589d78ce34a62a (patch)
treeadcca80ae21af46bb03ca23cf90db3cdc7371ba3 /src/faudit/seccomp.c
parentMerge branch 'master' of https://github.com/netblue30/firejail (diff)
downloadfirejail-8cc23dbc8f6b48a3d7eb3cfe8d589d78ce34a62a.tar.gz
firejail-8cc23dbc8f6b48a3d7eb3cfe8d589d78ce34a62a.tar.zst
firejail-8cc23dbc8f6b48a3d7eb3cfe8d589d78ce34a62a.zip
faudit network
Diffstat (limited to 'src/faudit/seccomp.c')
-rw-r--r--src/faudit/seccomp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/faudit/seccomp.c b/src/faudit/seccomp.c
index d88d6a958..9cc1a20f6 100644
--- a/src/faudit/seccomp.c
+++ b/src/faudit/seccomp.c
@@ -50,8 +50,10 @@ void seccomp_test(void) {
50 return; 50 return;
51 } 51 }
52 52
53 if (seccomp_status == 0) 53 if (seccomp_status == 0) {
54 printf("BAD: seccomp disabled\n"); 54 printf("BAD: seccomp disabled\n");
55 printf("Use \"firejail --seccomp\" to fix it.\n");
56 }
55 else if (seccomp_status == 1) 57 else if (seccomp_status == 1)
56 printf("GOOD: seccomp strict mode - only read, write, _exit, and sigreturn are allowd\n"); 58 printf("GOOD: seccomp strict mode - only read, write, _exit, and sigreturn are allowd\n");
57 else if (seccomp_status == 2) { 59 else if (seccomp_status == 2) {