diff options
-rw-r--r-- | etc/viking.profile | 30 | ||||
-rw-r--r-- | src/firejail/fs.c | 2 | ||||
-rwxr-xr-x | test/utils/audit.exp | 2 |
3 files changed, 32 insertions, 2 deletions
diff --git a/etc/viking.profile b/etc/viking.profile new file mode 100644 index 000000000..2b68d731c --- /dev/null +++ b/etc/viking.profile | |||
@@ -0,0 +1,30 @@ | |||
1 | # This file is overwritten during software install. | ||
2 | # Persistent customizations should go in a .local file. | ||
3 | include /etc/firejail/viking.local | ||
4 | |||
5 | # Firejail profile for viking | ||
6 | |||
7 | noblacklist ${HOME}/.viking | ||
8 | noblacklist ${HOME}/.viking-maps | ||
9 | |||
10 | include /etc/firejail/disable-common.inc | ||
11 | include /etc/firejail/disable-programs.inc | ||
12 | include /etc/firejail/disable-passwdmgr.inc | ||
13 | include /etc/firejail/disable-devel.inc | ||
14 | |||
15 | caps.drop all | ||
16 | netfilter | ||
17 | no3d | ||
18 | nogroups | ||
19 | nonewprivs | ||
20 | noroot | ||
21 | nosound | ||
22 | protocol unix,inet,inet6 | ||
23 | seccomp | ||
24 | shell none | ||
25 | |||
26 | private-dev | ||
27 | private-tmp | ||
28 | |||
29 | noexec ${HOME} | ||
30 | noexec /tmp | ||
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index fa66da617..025e715e6 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -113,7 +113,7 @@ static void disable_file(OPERATION op, const char *filename) { | |||
113 | else { | 113 | else { |
114 | if (arg_debug) { | 114 | if (arg_debug) { |
115 | if (strcmp(filename, fname)) | 115 | if (strcmp(filename, fname)) |
116 | printf("Disable %s (requesterd %s)\n", fname, filename); | 116 | printf("Disable %s (requested %s)\n", fname, filename); |
117 | else | 117 | else |
118 | printf("Disable %s\n", fname); | 118 | printf("Disable %s\n", fname); |
119 | } | 119 | } |
diff --git a/test/utils/audit.exp b/test/utils/audit.exp index 566493947..f0c1906a0 100755 --- a/test/utils/audit.exp +++ b/test/utils/audit.exp | |||
@@ -35,7 +35,7 @@ expect { | |||
35 | after 100 | 35 | after 100 |
36 | 36 | ||
37 | 37 | ||
38 | send -- "firejail --audit=/usr/lib/firejail/faudit\r" | 38 | send -- "firejail --audit\r" |
39 | expect { | 39 | expect { |
40 | timeout {puts "TESTING ERROR 6\n";exit} | 40 | timeout {puts "TESTING ERROR 6\n";exit} |
41 | "Firejail Audit" | 41 | "Firejail Audit" |