aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/main.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/main.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/main.c')
-rw-r--r--src/faudit/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/faudit/main.c b/src/faudit/main.c
index 2ed3aa2e1..6758f5671 100644
--- a/src/faudit/main.c
+++ b/src/faudit/main.c
@@ -33,7 +33,7 @@ int main(int argc, char **argv) {
33 return 1; 33 return 1;
34 } 34 }
35 35
36 printf("\n---------------- Firejail Audit: the Good, the Bad and the Ugly ----------------\n"); 36 printf("\n---------------- Firejail Audit: the GOOD, the BAD and the UGLY ----------------\n");
37 37
38 // extract program name 38 // extract program name
39 prog = realpath(argv[0], NULL); 39 prog = realpath(argv[0], NULL);
@@ -53,9 +53,12 @@ int main(int argc, char **argv) {
53 // check seccomp 53 // check seccomp
54 seccomp_test(); 54 seccomp_test();
55 55
56 // check some well-known problematic files 56 // check some well-known problematic files and directories
57 files_test(); 57 files_test();
58 58
59 // network
60 network_test();
61
59 free(prog); 62 free(prog);
60 printf("--------------------------------------------------------------------------------\n"); 63 printf("--------------------------------------------------------------------------------\n");
61 return 0; 64 return 0;