summaryrefslogtreecommitdiff
path: root/profiles/mocp.profile
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/mocp.profile')
-rw-r--r--profiles/mocp.profile51
1 files changed, 51 insertions, 0 deletions
diff --git a/profiles/mocp.profile b/profiles/mocp.profile
new file mode 100644
index 0000000..84ac1d0
--- /dev/null
+++ b/profiles/mocp.profile
@@ -0,0 +1,51 @@
+# This file is overwritten after every install/update
+# Persistent local customizations
+include mocp.local
+# Persistent global definitions
+include globals.local
+
+noblacklist ${HOME}/.moc
+noblacklist ${MUSIC}
+
+blacklist /tmp/.X11-unix
+
+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
+
+whitelist ${HOME}/.moc
+whitelist ${MUSIC}
+read-only ${MUSIC}
+
+caps.drop all
+# # alsa audio will work with ipc-namespace,
+# # but it hogs the alsa device from other applications
+ignore ipc-namespace
+machine-id
+net none
+no3d
+nodbus
+nodvd
+nogroups
+nonewprivs
+noroot
+notv
+nou2f
+novideo
+protocol unix
+seccomp
+shell none
+tracelog
+
+disable-mnt
+private-bin moc,mocp
+private-cache
+private-dev
+private-etc asound.conf,group,localtime,machine-id
+private-tmp
+
+memory-deny-write-execute