diff options
-rw-r--r-- | etc/profile-m-z/start-tor-browser.desktop.profile | 5 | ||||
-rw-r--r-- | etc/profile-m-z/start-tor-browser.profile | 37 |
2 files changed, 6 insertions, 36 deletions
diff --git a/etc/profile-m-z/start-tor-browser.desktop.profile b/etc/profile-m-z/start-tor-browser.desktop.profile index 2f73c9fee..7367d906e 100644 --- a/etc/profile-m-z/start-tor-browser.desktop.profile +++ b/etc/profile-m-z/start-tor-browser.desktop.profile | |||
@@ -4,7 +4,7 @@ | |||
4 | include start-tor-browser.desktop.local | 4 | include start-tor-browser.desktop.local |
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.tor-browser* | 9 | noblacklist ${HOME}/.tor-browser* |
10 | 10 | ||
@@ -72,5 +72,8 @@ whitelist ${HOME}/.tor-browser_vi | |||
72 | whitelist ${HOME}/.tor-browser_zh-CN | 72 | whitelist ${HOME}/.tor-browser_zh-CN |
73 | whitelist ${HOME}/.tor-browser_zh-TW | 73 | whitelist ${HOME}/.tor-browser_zh-TW |
74 | 74 | ||
75 | # Ignoring apparmor, tor browser is installed in user home directory using the binary archive distributed by Tor Foundation | ||
76 | ignore apparmor | ||
77 | |||
75 | # Redirect | 78 | # Redirect |
76 | include torbrowser-launcher.profile | 79 | include torbrowser-launcher.profile |
diff --git a/etc/profile-m-z/start-tor-browser.profile b/etc/profile-m-z/start-tor-browser.profile index b62b19101..b5c4d211e 100644 --- a/etc/profile-m-z/start-tor-browser.profile +++ b/etc/profile-m-z/start-tor-browser.profile | |||
@@ -5,38 +5,5 @@ include start-tor-browser.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include globals.local | 6 | include globals.local |
7 | 7 | ||
8 | ignore noexec ${HOME} | 8 | # Redirect |
9 | 9 | include start-tor-browser.desktop.profile | |
10 | include disable-common.inc | ||
11 | include disable-devel.inc | ||
12 | include disable-exec.inc | ||
13 | include disable-interpreters.inc | ||
14 | include disable-passwdmgr.inc | ||
15 | include disable-programs.inc | ||
16 | include disable-xdg.inc | ||
17 | |||
18 | include whitelist-var-common.inc | ||
19 | |||
20 | caps.drop all | ||
21 | netfilter | ||
22 | nodvd | ||
23 | nogroups | ||
24 | nonewprivs | ||
25 | noroot | ||
26 | notv | ||
27 | nou2f | ||
28 | novideo | ||
29 | protocol unix,inet,inet6 | ||
30 | seccomp !chroot | ||
31 | shell none | ||
32 | # tracelog may cause issues, see github issue #1930 | ||
33 | #tracelog | ||
34 | |||
35 | disable-mnt | ||
36 | private-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 | ||
37 | private-dev | ||
38 | private-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 | ||
39 | private-tmp | ||
40 | |||
41 | dbus-user none | ||
42 | dbus-system none | ||