aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2020-11-29 19:58:25 -0500
committerLibravatar Tad <tad@spotco.us>2020-11-29 20:01:50 -0500
commitfb56a266a309aba75147b071a18fe4a3a84093dc (patch)
tree5f01ce5cca81da30f79692dd793dc0c8297b657c /etc/profile-a-l
parentSmall fixes (diff)
downloadfirejail-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')
-rw-r--r--etc/profile-a-l/dolphin-emu.profile63
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
5include dolphin-emu.local
6# Persistent global definitions
7include globals.local
8
9# Note: you must whitelist your games folder in a dolphin-emu.local
10
11noblacklist ${HOME}/.cache/dolphin-emu
12noblacklist ${HOME}/.config/dolphin-emu
13noblacklist ${HOME}/.local/share/dolphin-emu
14
15include disable-common.inc
16include disable-devel.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.cache/dolphin-emu
24mkdir ${HOME}/.config/dolphin-emu
25mkdir ${HOME}/.local/share/dolphin-emu
26whitelist ${HOME}/.cache/dolphin-emu
27whitelist ${HOME}/.config/dolphin-emu
28whitelist ${HOME}/.local/share/dolphin-emu
29whitelist /usr/share/dolphin-emu
30include whitelist-common.inc
31include whitelist-runuser-common.inc
32include whitelist-usr-share-common.inc
33include whitelist-var-common.inc
34
35apparmor
36caps.drop all
37ipc-namespace
38# uncomment the following line if you do not need NetPlay support
39# net none
40netfilter
41# uncomment the following line if you do not need disc support
42#nodvd
43nogroups
44nonewprivs
45noroot
46notv
47nou2f
48novideo
49protocol unix,inet,inet6,netlink,bluetooth
50seccomp
51shell none
52tracelog
53
54private-bin bash,dolphin-emu,dolphin-emu-x11,sh
55private-cache
56# uncomment the following line if you do not need controller support
57#private-dev
58private-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
59private-opt none
60private-tmp
61
62dbus-user none
63dbus-system none