aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/mplayer.profile
diff options
context:
space:
mode:
authorLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2020-08-15 17:27:10 -0500
committerLibravatar GitHub <noreply@github.com>2020-08-15 17:27:10 -0500
commit5d741795c3bb2060730e282a8f512b999418e098 (patch)
tree8ff4e8937c10e995b54869ff82effbc73b888fca /etc/profile-m-z/mplayer.profile
parentMerge pull request #3559 from smitsohu/smitsohu-bandwidth (diff)
downloadfirejail-5d741795c3bb2060730e282a8f512b999418e098.tar.gz
firejail-5d741795c3bb2060730e282a8f512b999418e098.tar.zst
firejail-5d741795c3bb2060730e282a8f512b999418e098.zip
Use whitelisting for video players (#3472)
* Use whitelisting for video players See https://github.com/netblue30/firejail/pull/3469 * Update media player whitelists See reviews at https://github.com/netblue30/firejail/pull/3472 Block $DOCUMENTS Make $DESKTOP read-only * Review fixes: include read-only Desktop in whitelist
Diffstat (limited to 'etc/profile-m-z/mplayer.profile')
-rw-r--r--etc/profile-m-z/mplayer.profile13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/profile-m-z/mplayer.profile b/etc/profile-m-z/mplayer.profile
index cd25d6c0b..f4f862cb9 100644
--- a/etc/profile-m-z/mplayer.profile
+++ b/etc/profile-m-z/mplayer.profile
@@ -7,8 +7,6 @@ include mplayer.local
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.mplayer 9noblacklist ${HOME}/.mplayer
10noblacklist ${MUSIC}
11noblacklist ${VIDEOS}
12 10
13include disable-common.inc 11include disable-common.inc
14include disable-devel.inc 12include disable-devel.inc
@@ -16,8 +14,16 @@ include disable-exec.inc
16include disable-interpreters.inc 14include disable-interpreters.inc
17include disable-passwdmgr.inc 15include disable-passwdmgr.inc
18include disable-programs.inc 16include disable-programs.inc
19include disable-xdg.inc
20 17
18read-only ${DESKTOP}
19mkdir ${HOME}/.mplayer
20whitelist ${HOME}/.mplayer
21whitelist ${DESKTOP}
22whitelist ${DOWNLOADS}
23whitelist ${MUSIC}
24whitelist ${PICTURES}
25whitelist ${VIDEOS}
26include whitelist-common.inc
21include whitelist-usr-share-common.inc 27include whitelist-usr-share-common.inc
22include whitelist-var-common.inc 28include whitelist-var-common.inc
23 29
@@ -36,4 +42,3 @@ shell none
36private-bin mplayer 42private-bin mplayer
37private-dev 43private-dev
38private-tmp 44private-tmp
39