diff options
Diffstat (limited to 'etc/zeal.profile')
-rw-r--r-- | etc/zeal.profile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/etc/zeal.profile b/etc/zeal.profile new file mode 100644 index 000000000..f0fa29aa3 --- /dev/null +++ b/etc/zeal.profile | |||
@@ -0,0 +1,56 @@ | |||
1 | # Firejail profile for zeal | ||
2 | # Description: Offline documentation browser | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include zeal.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/Zeal | ||
10 | noblacklist ${HOME}/.cache/Zeal | ||
11 | noblacklist ${HOME}/.local/share/Zeal | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.config/Zeal | ||
22 | mkdir ${HOME}/.cache/Zeal | ||
23 | mkdir ${HOME}/.local/share/Zeal | ||
24 | whitelist ${HOME}/.config/Zeal | ||
25 | whitelist ${HOME}/.cache/Zeal | ||
26 | whitelist ${HOME}/.local/share/Zeal | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | machine-id | ||
33 | netfilter | ||
34 | no3d | ||
35 | nodbus | ||
36 | nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | nosound | ||
41 | notv | ||
42 | nou2f | ||
43 | novideo | ||
44 | protocol unix,inet,inet6 | ||
45 | seccomp | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-bin zeal | ||
51 | private-cache | ||
52 | private-dev | ||
53 | private-etc alternatives,ca-certificates,crypto-policies,fonts,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,nsswitch.conf,pango,pki,protocols,resolv.conf,rpc,services,ssl,Trolltech.conf,X11,xdg | ||
54 | private-tmp | ||
55 | |||
56 | memory-deny-write-execute | ||