aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/start-tor-browser.profile40
-rw-r--r--etc/profile-m-z/torbrowser-launcher.profile4
2 files changed, 8 insertions, 36 deletions
diff --git a/etc/profile-m-z/start-tor-browser.profile b/etc/profile-m-z/start-tor-browser.profile
index b62b19101..17ceedee7 100644
--- a/etc/profile-m-z/start-tor-browser.profile
+++ b/etc/profile-m-z/start-tor-browser.profile
@@ -3,40 +3,8 @@
3# Persistent local customizations 3# Persistent local customizations
4include start-tor-browser.local 4include start-tor-browser.local
5# Persistent global definitions 5# Persistent global definitions
6include globals.local 6# added by included profile
7#include globals.local
7 8
8ignore noexec ${HOME} 9# Redirect
9 10include start-tor-browser.desktop.profile
10include disable-common.inc
11include disable-devel.inc
12include disable-exec.inc
13include disable-interpreters.inc
14include disable-passwdmgr.inc
15include disable-programs.inc
16include disable-xdg.inc
17
18include whitelist-var-common.inc
19
20caps.drop all
21netfilter
22nodvd
23nogroups
24nonewprivs
25noroot
26notv
27nou2f
28novideo
29protocol unix,inet,inet6
30seccomp !chroot
31shell none
32# tracelog may cause issues, see github issue #1930
33#tracelog
34
35disable-mnt
36private-bin bash,cat,cp,cut,dirname,env,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,pwd,readlink,realpath,rm,sed,sh,tail,test,update-desktop-database,xmessage,zenity
37private-dev
38private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,pki,pulse,resolv.conf,ssl
39private-tmp
40
41dbus-user none
42dbus-system none
diff --git a/etc/profile-m-z/torbrowser-launcher.profile b/etc/profile-m-z/torbrowser-launcher.profile
index 6bcc51f4d..1045fa02a 100644
--- a/etc/profile-m-z/torbrowser-launcher.profile
+++ b/etc/profile-m-z/torbrowser-launcher.profile
@@ -31,6 +31,10 @@ whitelist ${HOME}/.local/share/torbrowser
31include whitelist-common.inc 31include whitelist-common.inc
32include whitelist-var-common.inc 32include whitelist-var-common.inc
33 33
34# Uncomment the line below or put 'apparmor' in your torbrowser-launcher.local.
35# IMPORTANT: the relevant rule in /etc/apparmor.d/local/firejail-default will need
36# to be uncommented too for this to work as expected.
37#apparmor
34caps.drop all 38caps.drop all
35netfilter 39netfilter
36nodvd 40nodvd