aboutsummaryrefslogtreecommitdiffstats
path: root/etc/mpDris2.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-02-19 05:59:37 +0000
committerLibravatar GitHub <noreply@github.com>2019-02-19 05:59:37 +0000
commitad82a1113a715e15a02ffd8ecdc1faffc94e28f6 (patch)
treee57e137c7c7fa47f3c252d59c96f0f5530875e8e /etc/mpDris2.profile
parentMerge pull request #2409 from schtobia/master (diff)
downloadfirejail-ad82a1113a715e15a02ffd8ecdc1faffc94e28f6.tar.gz
firejail-ad82a1113a715e15a02ffd8ecdc1faffc94e28f6.tar.zst
firejail-ad82a1113a715e15a02ffd8ecdc1faffc94e28f6.zip
Create mpDris2.profile
Diffstat (limited to 'etc/mpDris2.profile')
-rw-r--r--etc/mpDris2.profile53
1 files changed, 53 insertions, 0 deletions
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}