diff options
Diffstat (limited to 'etc/profile-m-z/torbrowser-launcher.profile')
-rw-r--r-- | etc/profile-m-z/torbrowser-launcher.profile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/etc/profile-m-z/torbrowser-launcher.profile b/etc/profile-m-z/torbrowser-launcher.profile new file mode 100644 index 000000000..6bcc51f4d --- /dev/null +++ b/etc/profile-m-z/torbrowser-launcher.profile | |||
@@ -0,0 +1,56 @@ | |||
1 | # Firejail profile for torbrowser-launcher | ||
2 | # Description: Helps download and run the Tor Browser Bundle | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include torbrowser-launcher.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | ignore noexec ${HOME} | ||
10 | |||
11 | noblacklist ${HOME}/.config/torbrowser | ||
12 | noblacklist ${HOME}/.local/share/torbrowser | ||
13 | |||
14 | # Allow python (blacklisted by disable-interpreters.inc) | ||
15 | include allow-python2.inc | ||
16 | include allow-python3.inc | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | include disable-xdg.inc | ||
25 | |||
26 | mkdir ${HOME}/.config/torbrowser | ||
27 | mkdir ${HOME}/.local/share/torbrowser | ||
28 | whitelist ${DOWNLOADS} | ||
29 | whitelist ${HOME}/.config/torbrowser | ||
30 | whitelist ${HOME}/.local/share/torbrowser | ||
31 | include whitelist-common.inc | ||
32 | include whitelist-var-common.inc | ||
33 | |||
34 | caps.drop all | ||
35 | netfilter | ||
36 | nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | notv | ||
41 | nou2f | ||
42 | novideo | ||
43 | protocol unix,inet,inet6 | ||
44 | seccomp !chroot | ||
45 | shell none | ||
46 | # tracelog may cause issues, see github issue #1930 | ||
47 | #tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-bin bash,cat,cp,cut,dirname,env,expr,file,gpg,grep,gxmessage,id,kdialog,ln,mkdir,mv,python*,rm,sed,sh,tail,tar,tclsh,test,tor-browser,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity | ||
51 | private-dev | ||
52 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,pki,pulse,resolv.conf,ssl | ||
53 | private-tmp | ||
54 | |||
55 | dbus-user none | ||
56 | dbus-system none | ||