aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/mpDris2.profile53
2 files changed, 54 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 39aab61c1..aa1acbb88 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -199,6 +199,7 @@ blacklist ${HOME}/.config/mfusion
199blacklist ${HOME}/.config/midori 199blacklist ${HOME}/.config/midori
200blacklist ${HOME}/.config/mono 200blacklist ${HOME}/.config/mono
201blacklist ${HOME}/.config/mpd 201blacklist ${HOME}/.config/mpd
202blacklist ${HOME}/.config/mpDris2
202blacklist ${HOME}/.config/mpv 203blacklist ${HOME}/.config/mpv
203blacklist ${HOME}/.config/mupen64plus 204blacklist ${HOME}/.config/mupen64plus
204blacklist ${HOME}/.config/mypaint 205blacklist ${HOME}/.config/mypaint
diff --git a/etc/mpDris2.profile b/etc/mpDris2.profile
new file mode 100644
index 000000000..7d551a96f
--- /dev/null
+++ b/etc/mpDris2.profile
@@ -0,0 +1,53 @@
1# Firejail profile for mpDris2
2# Description: MPRIS2 support for MPD
3# This file is overwritten after every install/update
4# Persistent local customizations
5include mpDris2.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/mpDris2
10
11# Allow python (blacklisted by disable-interpreters.inc)
12noblacklist ${PATH}/python2*
13noblacklist ${PATH}/python3*
14noblacklist /usr/lib/python2*
15noblacklist /usr/lib/python3*
16
17include disable-common.inc
18include disable-devel.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24caps.drop all
25# machine-id breaks audio; it should work fine in setups where sound is not required
26machine-id
27netfilter
28no3d
29nodvd
30nogroups
31nonewprivs
32noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix,inet,inet6
38seccomp
39shell none
40
41private-bin mpDris2,notify-send,python*
42private-cache
43private-dev
44private-etc alternatives,hosts,nsswitch.conf
45private-lib libgirepository-1.0.so.*,libnotify.so.*,libpython*,python2*,python3*
46private-tmp
47
48# memory-deny-write-execute - Breaks on Arch
49noexec ${HOME}
50noexec /tmp
51
52# mpDris2 will never write anything
53read-only ${HOME}