aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/mocp.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-05-27 17:42:23 +0000
committerLibravatar GitHub <noreply@github.com>2020-05-27 17:42:23 +0000
commitb67e9a9f5c1755813e5b428299adf6378e41807d (patch)
tree28d8875f7531309d925443c951acfb296ec67a67 /etc/profile-m-z/mocp.profile
parent${RUNUSER} blacklisting + typo (diff)
downloadfirejail-b67e9a9f5c1755813e5b428299adf6378e41807d.tar.gz
firejail-b67e9a9f5c1755813e5b428299adf6378e41807d.tar.zst
firejail-b67e9a9f5c1755813e5b428299adf6378e41807d.zip
new profile: mocp (#3437)
* Create mocp.profile * add mocp support to disable-programs.inc * add mocp support in firecfg.config * update RELNOTES for mocp * fix configuration access for mocp Thanks to @rusty-snake for spotting this.
Diffstat (limited to 'etc/profile-m-z/mocp.profile')
-rw-r--r--etc/profile-m-z/mocp.profile53
1 files changed, 53 insertions, 0 deletions
diff --git a/etc/profile-m-z/mocp.profile b/etc/profile-m-z/mocp.profile
new file mode 100644
index 000000000..6fc7a4d67
--- /dev/null
+++ b/etc/profile-m-z/mocp.profile
@@ -0,0 +1,53 @@
1# Firejail profile for mocp
2# Description: A powerful & easy to use console audio player
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include mocp.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${HOME}/.moc
11noblacklist ${MUSIC}
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19include disable-xdg.inc
20
21include whitelist-usr-share-common.inc
22include whitelist-runuser-common.inc
23include whitelist-var-common.inc
24
25apparmor
26caps.drop all
27ipc-namespace
28netfilter
29no3d
30nodvd
31nogroups
32nonewprivs
33noroot
34notv
35nou2f
36novideo
37protocol unix,inet,inet6,netlink
38seccomp
39shell none
40tracelog
41
42private-bin mocp
43private-cache
44private-dev
45private-etc alternatives,asound.conf,ca-certificates,crypto-policies,group,machine-id,pki,pulse,resolv.conf,ssl
46private-tmp
47
48dbus-user none
49dbus-system none
50
51memory-deny-write-execute
52read-only ${HOME}
53read-write ${HOME}/.moc