aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2022-04-10 20:36:14 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-10 20:36:14 +0200
commit142ab7ea29644e1ec27c5d2625951bc789f0c492 (patch)
tree68f8764d8298d65713b0898f9d79e7bb00659945
parentlibvirt dnsmasq: more fixes (#5089) (diff)
parentharden vlc (diff)
downloadfirejail-142ab7ea29644e1ec27c5d2625951bc789f0c492.tar.gz
firejail-142ab7ea29644e1ec27c5d2625951bc789f0c492.tar.zst
firejail-142ab7ea29644e1ec27c5d2625951bc789f0c492.zip
Merge pull request #5092 from smitsohu/vlc
harden vlc
-rw-r--r--etc/profile-m-z/vlc.profile17
1 files changed, 10 insertions, 7 deletions
diff --git a/etc/profile-m-z/vlc.profile b/etc/profile-m-z/vlc.profile
index 68db032aa..4a43ed196 100644
--- a/etc/profile-m-z/vlc.profile
+++ b/etc/profile-m-z/vlc.profile
@@ -27,9 +27,11 @@ whitelist ${HOME}/.config/aacs
27whitelist ${HOME}/.local/share/vlc 27whitelist ${HOME}/.local/share/vlc
28include whitelist-common.inc 28include whitelist-common.inc
29include whitelist-player-common.inc 29include whitelist-player-common.inc
30include whitelist-run-common.inc
31include whitelist-runuser-common.inc
30include whitelist-var-common.inc 32include whitelist-var-common.inc
31 33
32#apparmor - on Ubuntu 18.04 it refuses to start without dbus access 34apparmor
33caps.drop all 35caps.drop all
34netfilter 36netfilter
35nogroups 37nogroups
@@ -45,9 +47,10 @@ private-bin cvlc,nvlc,qvlc,rvlc,svlc,vlc
45private-dev 47private-dev
46private-tmp 48private-tmp
47 49
48# dbus needed for MPRIS 50dbus-user filter
49# dbus-user none 51dbus-user.own org.mpris.MediaPlayer2.vlc
50# dbus-system none 52dbus-user.talk org.freedesktop.Notifications
51 53dbus-user.talk org.freedesktop.ScreenSaver
52# mdwe is disabled due to breaking hardware accelerated decoding 54?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
53#memory-deny-write-execute 55dbus-user.talk org.mpris.MediaPlayer2.Player
56dbus-system none