diff options
author | 2020-05-27 17:42:23 +0000 | |
---|---|---|
committer | 2020-05-27 17:42:23 +0000 | |
commit | b67e9a9f5c1755813e5b428299adf6378e41807d (patch) | |
tree | 28d8875f7531309d925443c951acfb296ec67a67 /etc | |
parent | ${RUNUSER} blacklisting + typo (diff) | |
download | firejail-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')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/mocp.profile | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 3b49d60a8..89bfa540e 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -671,6 +671,7 @@ blacklist ${HOME}/.mediathek3 | |||
671 | blacklist ${HOME}/.megaglest | 671 | blacklist ${HOME}/.megaglest |
672 | blacklist ${HOME}/.minetest | 672 | blacklist ${HOME}/.minetest |
673 | blacklist ${HOME}/.mirrormagic | 673 | blacklist ${HOME}/.mirrormagic |
674 | blacklist ${HOME}/.moc | ||
674 | blacklist ${HOME}/.moonchild productions/basilisk | 675 | blacklist ${HOME}/.moonchild productions/basilisk |
675 | blacklist ${HOME}/.moonchild productions/pale moon | 676 | blacklist ${HOME}/.moonchild productions/pale moon |
676 | blacklist ${HOME}/.mozilla | 677 | blacklist ${HOME}/.mozilla |
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 | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include mocp.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.moc | ||
11 | noblacklist ${MUSIC} | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | include whitelist-usr-share-common.inc | ||
22 | include whitelist-runuser-common.inc | ||
23 | include whitelist-var-common.inc | ||
24 | |||
25 | apparmor | ||
26 | caps.drop all | ||
27 | ipc-namespace | ||
28 | netfilter | ||
29 | no3d | ||
30 | nodvd | ||
31 | nogroups | ||
32 | nonewprivs | ||
33 | noroot | ||
34 | notv | ||
35 | nou2f | ||
36 | novideo | ||
37 | protocol unix,inet,inet6,netlink | ||
38 | seccomp | ||
39 | shell none | ||
40 | tracelog | ||
41 | |||
42 | private-bin mocp | ||
43 | private-cache | ||
44 | private-dev | ||
45 | private-etc alternatives,asound.conf,ca-certificates,crypto-policies,group,machine-id,pki,pulse,resolv.conf,ssl | ||
46 | private-tmp | ||
47 | |||
48 | dbus-user none | ||
49 | dbus-system none | ||
50 | |||
51 | memory-deny-write-execute | ||
52 | read-only ${HOME} | ||
53 | read-write ${HOME}/.moc | ||