Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpv: whitelist /usr/share/mpv #6128

Merged
merged 1 commit into from
Dec 21, 2023
Merged

Conversation

pirate486743186
Copy link
Contributor

use case, you install scripts in /usr/share/mpv but they remain inactive. You then symlnk them to /etc/mpv to activate them if you want.

Question, isn't whitelist /usr/share/lua redundant because of whitelist /usr/share/lua* ?

@kmk3 kmk3 changed the title Update mpv.profile whitelist /usr/share/mpv mpv: whitelist /usr/share/mpv Dec 14, 2023
Use case: You install scripts in  `/usr/share/mpv` but they remain
inactive. You then symlink them to `/etc/mpv` to activate them if you
want.
@kmk3
Copy link
Collaborator

kmk3 commented Dec 14, 2023

Added some missing paths and force-pushed.

Question, isn't whitelist /usr/share/lua redundant because of whitelist /usr/share/lua* ?

Good catch; I'll fix that after this PR.

@netblue30 netblue30 merged commit 23c42be into netblue30:master Dec 21, 2023
3 checks passed
@netblue30
Copy link
Owner

Merged!

kmk3 added a commit to kmk3/firejail that referenced this pull request Jan 6, 2024
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
kmk3 added a commit that referenced this pull request Jan 8, 2024
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 (#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 #6128.

Reported-by: @pirate486743186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants