Skip to content

Commit

Permalink
profiles: use only /usr/share/lua*
Browse files Browse the repository at this point in the history
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 56b60df ("additional
Lua blacklisting (netblue30#3246)", 2020-02-24) and the entries without the
wildcard were partially removed on commit 721a984 ("Fix Lua in
disable-interpreters.inc", 2020-02-24).

This is a follow-up to netblue30#6128.

Reported-by: @pirate486743186
  • Loading branch information
kmk3 committed Jan 6, 2024
1 parent e0ec601 commit 15de8b5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion etc/inc/allow-lua.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ noblacklist /usr/lib/liblua*
noblacklist /usr/lib/lua
noblacklist /usr/lib64/liblua*
noblacklist /usr/lib64/lua
noblacklist /usr/share/lua
noblacklist /usr/share/lua*
1 change: 0 additions & 1 deletion etc/profile-a-l/firefox-common-addons.profile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ whitelist ${HOME}/.wine-pipelight
whitelist ${HOME}/.wine-pipelight64
whitelist ${HOME}/.zotero
whitelist ${HOME}/dwhelper
whitelist /usr/share/lua
whitelist /usr/share/lua*
whitelist /usr/share/mpv

Expand Down
1 change: 0 additions & 1 deletion etc/profile-m-z/mpv.profile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ whitelist ${HOME}/.local/state/mpv
whitelist ${HOME}/.netrc
whitelist ${HOME}/yt-dlp.conf
whitelist ${HOME}/yt-dlp.conf.txt
whitelist /usr/share/lua
whitelist /usr/share/lua*
whitelist /usr/share/mpv
include whitelist-common.inc
Expand Down
2 changes: 1 addition & 1 deletion etc/profile-m-z/rhythmbox.profile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include disable-shell.inc
include disable-xdg.inc

whitelist /usr/share/rhythmbox
whitelist /usr/share/lua
whitelist /usr/share/lua*
whitelist /usr/share/libquvi-scripts
whitelist /usr/share/tracker
include whitelist-runuser-common.inc
Expand Down

0 comments on commit 15de8b5

Please sign in to comment.