aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-01-08 11:56:27 +0000
committerLibravatar GitHub <noreply@github.com>2024-01-08 11:56:27 +0000
commitd35847f9a4c50d3f870760a4906753a03c62a2f3 (patch)
tree5f9f288cd19d56d02357b230218c2c3efcc5cd8c /etc/profile-m-z
parentdisable-devel.inc: deduplicate g++ and gcc entries (diff)
downloadfirejail-d35847f9a4c50d3f870760a4906753a03c62a2f3.tar.gz
firejail-d35847f9a4c50d3f870760a4906753a03c62a2f3.tar.zst
firejail-d35847f9a4c50d3f870760a4906753a03c62a2f3.zip
profiles: use only /usr/share/lua* (#6150)
To ensure that it includes luajit paths as well: * /usr/share/lua * /usr/share/luajit-2.1 And remove all entries of the same path without the wildcard, to avoid redundancy. Misc: The wildcard entries were added on commit 56b60dfd0 ("additional Lua blacklisting (#3246)", 2020-02-24) and the entries without the wildcard were partially removed on commit 721a984a5 ("Fix Lua in disable-interpreters.inc", 2020-02-24). This is a follow-up to #6128. Reported-by: @pirate486743186
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/mpv.profile1
-rw-r--r--etc/profile-m-z/rhythmbox.profile2
2 files changed, 1 insertions, 2 deletions
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile
index 9cb1fd0ce..b85002b00 100644
--- a/etc/profile-m-z/mpv.profile
+++ b/etc/profile-m-z/mpv.profile
@@ -64,7 +64,6 @@ whitelist ${HOME}/.local/state/mpv
64whitelist ${HOME}/.netrc 64whitelist ${HOME}/.netrc
65whitelist ${HOME}/yt-dlp.conf 65whitelist ${HOME}/yt-dlp.conf
66whitelist ${HOME}/yt-dlp.conf.txt 66whitelist ${HOME}/yt-dlp.conf.txt
67whitelist /usr/share/lua
68whitelist /usr/share/lua* 67whitelist /usr/share/lua*
69whitelist /usr/share/mpv 68whitelist /usr/share/mpv
70include whitelist-common.inc 69include whitelist-common.inc
diff --git a/etc/profile-m-z/rhythmbox.profile b/etc/profile-m-z/rhythmbox.profile
index 77c032a53..c2343db02 100644
--- a/etc/profile-m-z/rhythmbox.profile
+++ b/etc/profile-m-z/rhythmbox.profile
@@ -26,7 +26,7 @@ include disable-shell.inc
26include disable-xdg.inc 26include disable-xdg.inc
27 27
28whitelist /usr/share/rhythmbox 28whitelist /usr/share/rhythmbox
29whitelist /usr/share/lua 29whitelist /usr/share/lua*
30whitelist /usr/share/libquvi-scripts 30whitelist /usr/share/libquvi-scripts
31whitelist /usr/share/tracker 31whitelist /usr/share/tracker
32include whitelist-runuser-common.inc 32include whitelist-runuser-common.inc