aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/checkbashisms.profile2
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/itch.profile3
-rw-r--r--etc/pluma.profile3
-rw-r--r--etc/tor-browser.profile10
-rw-r--r--etc/torbrowser-launcher.profile2
-rw-r--r--src/firecfg/firecfg.config1
7 files changed, 20 insertions, 3 deletions
diff --git a/etc/checkbashisms.profile b/etc/checkbashisms.profile
index fe3202cea..7b2d344e5 100644
--- a/etc/checkbashisms.profile
+++ b/etc/checkbashisms.profile
@@ -44,7 +44,7 @@ x11 none
44 44
45private-cache 45private-cache
46private-dev 46private-dev
47private-lib perl* 47private-lib libfreebl3.so,perl*
48private-tmp 48private-tmp
49 49
50memory-deny-write-execute 50memory-deny-write-execute
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index a1f78e3fe..c0bf1f8d4 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -369,6 +369,7 @@ blacklist ${HOME}/.hugin
369blacklist ${HOME}/.icedove 369blacklist ${HOME}/.icedove
370blacklist ${HOME}/.imagej 370blacklist ${HOME}/.imagej
371blacklist ${HOME}/.inkscape 371blacklist ${HOME}/.inkscape
372blacklist ${HOME}/.itch
372blacklist ${HOME}/.jack-server 373blacklist ${HOME}/.jack-server
373blacklist ${HOME}/.jack-settings 374blacklist ${HOME}/.jack-settings
374blacklist ${HOME}/.jak 375blacklist ${HOME}/.jak
@@ -628,6 +629,7 @@ blacklist ${HOME}/.teeworlds
628blacklist ${HOME}/.thunderbird 629blacklist ${HOME}/.thunderbird
629blacklist ${HOME}/.tilp 630blacklist ${HOME}/.tilp
630blacklist ${HOME}/.tooling 631blacklist ${HOME}/.tooling
632blacklist ${HOME}/.tor-browser
631blacklist ${HOME}/.tor-browser-* 633blacklist ${HOME}/.tor-browser-*
632blacklist ${HOME}/.tor-browser_* 634blacklist ${HOME}/.tor-browser_*
633blacklist ${HOME}/.torcs 635blacklist ${HOME}/.torcs
diff --git a/etc/itch.profile b/etc/itch.profile
index c0b4fe6ce..b3c78c810 100644
--- a/etc/itch.profile
+++ b/etc/itch.profile
@@ -8,6 +8,7 @@ include globals.local
8# itch.io has native firejail/sandboxing support bundled in 8# itch.io has native firejail/sandboxing support bundled in
9# See https://itch.io/docs/itch/using/sandbox/linux.html 9# See https://itch.io/docs/itch/using/sandbox/linux.html
10 10
11noblacklist ${HOME}/.itch
11noblacklist ${HOME}/.config/itch 12noblacklist ${HOME}/.config/itch
12 13
13include disable-common.inc 14include disable-common.inc
@@ -16,7 +17,9 @@ include disable-interpreters.inc
16include disable-passwdmgr.inc 17include disable-passwdmgr.inc
17include disable-programs.inc 18include disable-programs.inc
18 19
20mkdir ${HOME}/.itch
19mkdir ${HOME}/.config/itch 21mkdir ${HOME}/.config/itch
22whitelist ${HOME}/.itch
20whitelist ${HOME}/.config/itch 23whitelist ${HOME}/.config/itch
21include whitelist-common.inc 24include whitelist-common.inc
22 25
diff --git a/etc/pluma.profile b/etc/pluma.profile
index 81b2b1481..1e0512fd8 100644
--- a/etc/pluma.profile
+++ b/etc/pluma.profile
@@ -6,6 +6,7 @@ include pluma.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.config/enchant
9noblacklist ${HOME}/.config/pluma 10noblacklist ${HOME}/.config/pluma
10noblacklist ${HOME}/.python-history 11noblacklist ${HOME}/.python-history
11noblacklist ${HOME}/.python_history 12noblacklist ${HOME}/.python_history
@@ -42,7 +43,7 @@ tracelog
42 43
43private-bin pluma 44private-bin pluma
44private-dev 45private-dev
45private-lib pluma 46private-lib aspell,gconv,libgspell-1.so.*,libreadline.so.*,libtinfo.so.*,pluma
46private-tmp 47private-tmp
47 48
48memory-deny-write-execute 49memory-deny-write-execute
diff --git a/etc/tor-browser.profile b/etc/tor-browser.profile
new file mode 100644
index 000000000..0cd84abf5
--- /dev/null
+++ b/etc/tor-browser.profile
@@ -0,0 +1,10 @@
1# Firejail profile alias for torbrowser-launcher
2# This file is overwritten after every install/update
3
4noblacklist ${HOME}/.tor-browser
5
6mkdir ${HOME}/.tor-browser
7whitelist ${HOME}/.tor-browser
8
9# Redirect
10include torbrowser-launcher.profile
diff --git a/etc/torbrowser-launcher.profile b/etc/torbrowser-launcher.profile
index 75bcb04b4..00b82e852 100644
--- a/etc/torbrowser-launcher.profile
+++ b/etc/torbrowser-launcher.profile
@@ -48,7 +48,7 @@ shell none
48#tracelog 48#tracelog
49 49
50disable-mnt 50disable-mnt
51private-bin bash,cat,cp,cut,dirname,env,expr,file,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,pwd,python*,readlink,realpath,rm,sed,sh,tail,tar,tclsh,test,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity 51private-bin bash,cat,cp,cut,dirname,env,expr,file,getconf,gpg,grep,gxmessage,id,kdialog,ln,mkdir,mv,pwd,python*,readlink,realpath,rm,sed,sh,tail,tar,tclsh,test,tor-browser,tor-browser-en,torbrowser-launcher,update-desktop-database,xmessage,xz,zenity
52private-dev 52private-dev
53private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl 53private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,hostname,hosts,ld.so.cache,machine-id,pki,pulse,resolv.conf,ssl
54private-tmp 54private-tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 4ee6eea4f..a6f259466 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -561,6 +561,7 @@ thunderbird
561thunderbird-beta 561thunderbird-beta
562thunderbird-wayland 562thunderbird-wayland
563tilp 563tilp
564tor-browser
564tor-browser-ar 565tor-browser-ar
565tor-browser-ca 566tor-browser-ca
566tor-browser-cs 567tor-browser-cs