From 0daa003e325c254444718f947ba746082a4e4591 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Thu, 9 Mar 2023 11:11:02 +0000 Subject: mpv: improve and clarify comments (#5711) --- etc/profile-m-z/mpv.profile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'etc') diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile index c9706999a..9dcc9dec3 100644 --- a/etc/profile-m-z/mpv.profile +++ b/etc/profile-m-z/mpv.profile @@ -11,13 +11,13 @@ include globals.local # edit ~/.config/mpv/foobar.conf: # screenshot-directory=~/Pictures -# Mpv has a powerful lua-API, some off these lua-scripts interact -# with external resources which are blocked by firejail. In such cases -# you need to allow these resources by -# - adding additional binaries to private-bin +# mpv has a powerful Lua API and some of the Lua scripts interact with +# external resources which are blocked by firejail. In such cases you need to +# allow these resources by: +# - noblacklisting additional paths # - whitelisting additional paths -# - noblacklisting paths -# - weaking the dbus-policy +# - adding additional binaries to private-bin +# - changing/weakening the D-Bus policy # - ... # # Often these scripts require a shell: @@ -79,6 +79,8 @@ seccomp seccomp.block-secondary tracelog +# mpv links to libluajit, so no need to reference "lua*" in private-bin: +# https://github.com/netblue30/firejail/pull/5711#discussion_r1125622615 private-bin env,mpv,python*,waf,youtube-dl,yt-dlp # private-cache causes slow OSD, see #2838 #private-cache -- cgit v1.2.3-70-g09d2