diff options
author | rusty-snake <print_hello_world+Public@protonmail.com> | 2019-06-30 20:05:52 +0200 |
---|---|---|
committer | rusty-snake <print_hello_world+Public@protonmail.com> | 2019-06-30 20:05:52 +0200 |
commit | b3967fade379b5b6a073df3d42574455314b6db6 (patch) | |
tree | 5ec000482b3d4179a33c207c009fb32fc4f61557 /etc | |
parent | Fixup b1aff3395c77da467b7ba5e8fb8dabc33c37f8c6 (diff) | |
download | firejail-b3967fade379b5b6a073df3d42574455314b6db6.tar.gz firejail-b3967fade379b5b6a073df3d42574455314b6db6.tar.zst firejail-b3967fade379b5b6a073df3d42574455314b6db6.zip |
add profile for zeal
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 3 | ||||
-rw-r--r-- | etc/zeal.profile | 56 |
2 files changed, 59 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 679a8c0a0..b3c83045b 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -110,6 +110,7 @@ blacklist ${HOME}/.config/SubDownloader | |||
110 | blacklist ${HOME}/.config/Thunar | 110 | blacklist ${HOME}/.config/Thunar |
111 | blacklist ${HOME}/.config/VirtualBox | 111 | blacklist ${HOME}/.config/VirtualBox |
112 | blacklist ${HOME}/.config/Wire | 112 | blacklist ${HOME}/.config/Wire |
113 | blacklist ${HOME}/.config/Zeal | ||
113 | blacklist ${HOME}/.config/akonadi* | 114 | blacklist ${HOME}/.config/akonadi* |
114 | blacklist ${HOME}/.config/akregatorrc | 115 | blacklist ${HOME}/.config/akregatorrc |
115 | blacklist ${HOME}/.config/ardour4 | 116 | blacklist ${HOME}/.config/ardour4 |
@@ -458,6 +459,7 @@ blacklist ${HOME}/.local/share/SuperHexagon | |||
458 | blacklist ${HOME}/.local/share/TelegramDesktop | 459 | blacklist ${HOME}/.local/share/TelegramDesktop |
459 | blacklist ${HOME}/.local/share/Terraria | 460 | blacklist ${HOME}/.local/share/Terraria |
460 | blacklist ${HOME}/.local/share/TpLogger | 461 | blacklist ${HOME}/.local/share/TpLogger |
462 | blacklist ${HOME}/.local/share/Zeal | ||
461 | blacklist ${HOME}/.local/share/akonadi* | 463 | blacklist ${HOME}/.local/share/akonadi* |
462 | blacklist ${HOME}/.local/share/akregator | 464 | blacklist ${HOME}/.local/share/akregator |
463 | blacklist ${HOME}/.local/share/apps/korganizer | 465 | blacklist ${HOME}/.local/share/apps/korganizer |
@@ -665,6 +667,7 @@ blacklist ${HOME}/.cache/Franz | |||
665 | blacklist ${HOME}/.cache/INRIA | 667 | blacklist ${HOME}/.cache/INRIA |
666 | blacklist ${HOME}/.cache/MusicBrainz | 668 | blacklist ${HOME}/.cache/MusicBrainz |
667 | blacklist ${HOME}/.cache/QuiteRss | 669 | blacklist ${HOME}/.cache/QuiteRss |
670 | blacklist ${HOME}/.cache/Zeal | ||
668 | blacklist ${HOME}/.cache/akonadi* | 671 | blacklist ${HOME}/.cache/akonadi* |
669 | blacklist ${HOME}/.cache/atril | 672 | blacklist ${HOME}/.cache/atril |
670 | blacklist ${HOME}/.cache/attic | 673 | blacklist ${HOME}/.cache/attic |
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 | ||