diff options
author | 2020-11-29 19:58:25 -0500 | |
---|---|---|
committer | 2020-11-29 20:01:50 -0500 | |
commit | fb56a266a309aba75147b071a18fe4a3a84093dc (patch) | |
tree | 5f01ce5cca81da30f79692dd793dc0c8297b657c /etc/profile-a-l/dolphin-emu.profile | |
parent | Small fixes (diff) | |
download | firejail-fb56a266a309aba75147b071a18fe4a3a84093dc.tar.gz firejail-fb56a266a309aba75147b071a18fe4a3a84093dc.tar.zst firejail-fb56a266a309aba75147b071a18fe4a3a84093dc.zip |
Add a profile for dolphin-emu
Games folder must be whitelisted in a dolphin-emu.local
Its private-etc can likely be shortened
Diffstat (limited to 'etc/profile-a-l/dolphin-emu.profile')
-rw-r--r-- | etc/profile-a-l/dolphin-emu.profile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/etc/profile-a-l/dolphin-emu.profile b/etc/profile-a-l/dolphin-emu.profile new file mode 100644 index 000000000..13d830b55 --- /dev/null +++ b/etc/profile-a-l/dolphin-emu.profile | |||
@@ -0,0 +1,63 @@ | |||
1 | # Firejail profile for dolphin-emu | ||
2 | # Description: An emulator for Gamecube and Wii games | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include dolphin-emu.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Note: you must whitelist your games folder in a dolphin-emu.local | ||
10 | |||
11 | noblacklist ${HOME}/.cache/dolphin-emu | ||
12 | noblacklist ${HOME}/.config/dolphin-emu | ||
13 | noblacklist ${HOME}/.local/share/dolphin-emu | ||
14 | |||
15 | include disable-common.inc | ||
16 | include disable-devel.inc | ||
17 | include disable-exec.inc | ||
18 | include disable-interpreters.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | include disable-programs.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.cache/dolphin-emu | ||
24 | mkdir ${HOME}/.config/dolphin-emu | ||
25 | mkdir ${HOME}/.local/share/dolphin-emu | ||
26 | whitelist ${HOME}/.cache/dolphin-emu | ||
27 | whitelist ${HOME}/.config/dolphin-emu | ||
28 | whitelist ${HOME}/.local/share/dolphin-emu | ||
29 | whitelist /usr/share/dolphin-emu | ||
30 | include whitelist-common.inc | ||
31 | include whitelist-runuser-common.inc | ||
32 | include whitelist-usr-share-common.inc | ||
33 | include whitelist-var-common.inc | ||
34 | |||
35 | apparmor | ||
36 | caps.drop all | ||
37 | ipc-namespace | ||
38 | # uncomment the following line if you do not need NetPlay support | ||
39 | # net none | ||
40 | netfilter | ||
41 | # uncomment the following line if you do not need disc support | ||
42 | #nodvd | ||
43 | nogroups | ||
44 | nonewprivs | ||
45 | noroot | ||
46 | notv | ||
47 | nou2f | ||
48 | novideo | ||
49 | protocol unix,inet,inet6,netlink,bluetooth | ||
50 | seccomp | ||
51 | shell none | ||
52 | tracelog | ||
53 | |||
54 | private-bin bash,dolphin-emu,dolphin-emu-x11,sh | ||
55 | private-cache | ||
56 | # uncomment the following line if you do not need controller support | ||
57 | #private-dev | ||
58 | private-etc alsa,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,dconf,drirc,fonts,gconf,glvnd,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,kde4rc,kde5rc,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,nvidia,pango,pki,protocols,pulse,resolv.conf,rpc,services,ssl,Trolltech.conf,X11,xdg | ||
59 | private-opt none | ||
60 | private-tmp | ||
61 | |||
62 | dbus-user none | ||
63 | dbus-system none | ||