diff options
author | 2019-11-24 20:22:40 +0000 | |
---|---|---|
committer | 2019-11-24 20:22:40 +0000 | |
commit | b11e9449a08409b5cd82a51eff3f7aa7bcd075b4 (patch) | |
tree | b71eb80203fd1b47020648237ae283729fc97d10 /etc/gmpc.profile | |
parent | Add new profile: drawio (#3058) (diff) | |
download | firejail-b11e9449a08409b5cd82a51eff3f7aa7bcd075b4.tar.gz firejail-b11e9449a08409b5cd82a51eff3f7aa7bcd075b4.tar.zst firejail-b11e9449a08409b5cd82a51eff3f7aa7bcd075b4.zip |
Add new profile: gmpc (#3059)
* Create gmpc.profile
* Add gmpc config to disable-programs.inc
* Add gmpc to firecfg.config
Diffstat (limited to 'etc/gmpc.profile')
-rw-r--r-- | etc/gmpc.profile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/gmpc.profile b/etc/gmpc.profile new file mode 100644 index 000000000..b13050dbd --- /dev/null +++ b/etc/gmpc.profile | |||
@@ -0,0 +1,54 @@ | |||
1 | # Firejail profile for gmpc | ||
2 | # Description: MPD client | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gmpc.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/gmpc | ||
10 | |||
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 | mkdir ${HOME}/.config/gmpc | ||
22 | whitelist ${HOME}/.config/gmpc | ||
23 | |||
24 | whitelist /usr/share/gmpc | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-usr-share-common.inc | ||
27 | include whitelist-var-common.inc | ||
28 | |||
29 | apparmor | ||
30 | caps.drop all | ||
31 | ipc-namespace | ||
32 | netfilter | ||
33 | no3d | ||
34 | #nodbus | ||
35 | nodvd | ||
36 | nogroups | ||
37 | nonewprivs | ||
38 | noroot | ||
39 | notv | ||
40 | nou2f | ||
41 | novideo | ||
42 | protocol unix,inet,inet6 | ||
43 | seccomp | ||
44 | shell none | ||
45 | tracelog | ||
46 | |||
47 | disable-mnt | ||
48 | #private-bin gmpc | ||
49 | private-cache | ||
50 | private-etc alternatives,fonts | ||
51 | private-tmp | ||
52 | |||
53 | # memory-deny-write-execute - breaks on Arch | ||
54 | writable-run-user | ||