diff options
author | 2020-12-29 19:36:40 +0100 | |
---|---|---|
committer | 2020-12-29 19:36:40 +0100 | |
commit | 2da62c23ad5d67d551a8b886de66623e24896c4e (patch) | |
tree | e8f8e461b2ced056e09a396a8024c9c8e350f6cb /etc | |
parent | manpage: /bin/bash -> user's perferred shell (diff) | |
download | firejail-2da62c23ad5d67d551a8b886de66623e24896c4e.tar.gz firejail-2da62c23ad5d67d551a8b886de66623e24896c4e.tar.zst firejail-2da62c23ad5d67d551a8b886de66623e24896c4e.zip |
profiles: add redirect from matrix-mirage to mirage (#3854)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 3 | ||||
-rw-r--r-- | etc/profile-m-z/matrix-mirage.profile | 24 | ||||
-rw-r--r-- | etc/profile-m-z/mirage.profile | 3 |
3 files changed, 29 insertions, 1 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 07fefec8c..7df40c705 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -303,6 +303,7 @@ blacklist ${HOME}/.config/mana | |||
303 | blacklist ${HOME}/.config/mate-calc | 303 | blacklist ${HOME}/.config/mate-calc |
304 | blacklist ${HOME}/.config/mate/eom | 304 | blacklist ${HOME}/.config/mate/eom |
305 | blacklist ${HOME}/.config/mate/mate-dictionary | 305 | blacklist ${HOME}/.config/mate/mate-dictionary |
306 | blacklist ${HOME}/.config/matrix-mirage | ||
306 | blacklist ${HOME}/.config/meld | 307 | blacklist ${HOME}/.config/meld |
307 | blacklist ${HOME}/.config/meteo-qt | 308 | blacklist ${HOME}/.config/meteo-qt |
308 | blacklist ${HOME}/.config/menulibre.cfg | 309 | blacklist ${HOME}/.config/menulibre.cfg |
@@ -671,6 +672,7 @@ blacklist ${HOME}/.local/share/lugaru | |||
671 | blacklist ${HOME}/.local/share/lutris | 672 | blacklist ${HOME}/.local/share/lutris |
672 | blacklist ${HOME}/.local/share/mana | 673 | blacklist ${HOME}/.local/share/mana |
673 | blacklist ${HOME}/.local/share/maps-places.json | 674 | blacklist ${HOME}/.local/share/maps-places.json |
675 | blacklist ${HOME}/.local/share/matrix-mirage | ||
674 | blacklist ${HOME}/.local/share/meld | 676 | blacklist ${HOME}/.local/share/meld |
675 | blacklist ${HOME}/.local/share/midori | 677 | blacklist ${HOME}/.local/share/midori |
676 | blacklist ${HOME}/.local/share/mirage | 678 | blacklist ${HOME}/.local/share/mirage |
@@ -943,6 +945,7 @@ blacklist ${HOME}/.cache/libgweather | |||
943 | blacklist ${HOME}/.cache/liferea | 945 | blacklist ${HOME}/.cache/liferea |
944 | blacklist ${HOME}/.cache/lutris | 946 | blacklist ${HOME}/.cache/lutris |
945 | blacklist ${HOME}/.cache/Mendeley Ltd. | 947 | blacklist ${HOME}/.cache/Mendeley Ltd. |
948 | blacklist ${HOME}/.cache/matrix-mirage | ||
946 | blacklist ${HOME}/.cache/midori | 949 | blacklist ${HOME}/.cache/midori |
947 | blacklist ${HOME}/.cache/minetest | 950 | blacklist ${HOME}/.cache/minetest |
948 | blacklist ${HOME}/.cache/mirage | 951 | blacklist ${HOME}/.cache/mirage |
diff --git a/etc/profile-m-z/matrix-mirage.profile b/etc/profile-m-z/matrix-mirage.profile new file mode 100644 index 000000000..b3080df88 --- /dev/null +++ b/etc/profile-m-z/matrix-mirage.profile | |||
@@ -0,0 +1,24 @@ | |||
1 | # Firejail profile for matrix-mirage | ||
2 | # Description: Debian name for mirage binary/package | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include matrix-mirage.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.cache/matrix-mirage | ||
11 | noblacklist ${HOME}/.config/matrix-mirage | ||
12 | noblacklist ${HOME}/.local/share/matrix-mirage | ||
13 | |||
14 | mkdir ${HOME}/.cache/matrix-mirage | ||
15 | mkdir ${HOME}/.config/matrix-mirage | ||
16 | mkdir ${HOME}/.local/share/matrix-mirage | ||
17 | whitelist ${HOME}/.cache/matrix-mirage | ||
18 | whitelist ${HOME}/.config/matrix-mirage | ||
19 | whitelist ${HOME}/.local/share/matrix-mirage | ||
20 | |||
21 | private-bin matrix-mirage | ||
22 | |||
23 | # Redirect | ||
24 | include mirage.profile | ||
diff --git a/etc/profile-m-z/mirage.profile b/etc/profile-m-z/mirage.profile index 55c11be29..7130267e8 100644 --- a/etc/profile-m-z/mirage.profile +++ b/etc/profile-m-z/mirage.profile | |||
@@ -9,6 +9,7 @@ include globals.local | |||
9 | noblacklist ${HOME}/.cache/mirage | 9 | noblacklist ${HOME}/.cache/mirage |
10 | noblacklist ${HOME}/.config/mirage | 10 | noblacklist ${HOME}/.config/mirage |
11 | noblacklist ${HOME}/.local/share/mirage | 11 | noblacklist ${HOME}/.local/share/mirage |
12 | noblacklist /sbin | ||
12 | 13 | ||
13 | include allow-python2.inc | 14 | include allow-python2.inc |
14 | include allow-python3.inc | 15 | include allow-python3.inc |
@@ -49,7 +50,7 @@ shell none | |||
49 | tracelog | 50 | tracelog |
50 | 51 | ||
51 | disable-mnt | 52 | disable-mnt |
52 | private-bin mirage | 53 | private-bin ldconfig,mirage |
53 | private-cache | 54 | private-cache |
54 | private-dev | 55 | private-dev |
55 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg | 56 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg |