From 018d75775eab4a0f045949a9d069c57686ca2686 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 21 Apr 2020 08:24:28 -0400 Subject: reorganize github etc directory --- etc/profile-m-z/mpd.profile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 etc/profile-m-z/mpd.profile (limited to 'etc/profile-m-z/mpd.profile') diff --git a/etc/profile-m-z/mpd.profile b/etc/profile-m-z/mpd.profile new file mode 100644 index 000000000..3fda87a48 --- /dev/null +++ b/etc/profile-m-z/mpd.profile @@ -0,0 +1,44 @@ +# Firejail profile for mpd +# Description: Music Player Daemon +# This file is overwritten after every install/update +# Persistent local customizations +include mpd.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/mpd +noblacklist ${HOME}/.mpd +noblacklist ${HOME}/.mpdconf +noblacklist ${MUSIC} + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +caps.drop all +netfilter +no3d +nodvd +nonewprivs +noroot +notv +nou2f +novideo +protocol unix,inet,inet6 +# blacklisting of ioprio_set system calls breaks auto-updating of +# MPD's database when files in music_directory are changed +seccomp !ioprio_set +shell none + +#private-bin bash,mpd +private-cache +private-dev +private-tmp + -- cgit v1.2.3-70-g09d2