diff options
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/PCSX2.profile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/etc/profile-m-z/PCSX2.profile b/etc/profile-m-z/PCSX2.profile new file mode 100644 index 000000000..b2687ba3c --- /dev/null +++ b/etc/profile-m-z/PCSX2.profile | |||
@@ -0,0 +1,57 @@ | |||
1 | # Firejail profile for PCSX2 | ||
2 | # Description: A PlayStation 2 emulator | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include PCSX2.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Note: you must whitelist your games folder in a PCSX2.local | ||
10 | |||
11 | noblacklist ${HOME}/.config/PCSX2 | ||
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-shell.inc | ||
20 | include disable-write-mnt.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.config/PCSX2 | ||
24 | whitelist ${HOME}/.config/PCSX2 | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-runuser-common.inc | ||
27 | include whitelist-usr-share-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | ipc-namespace | ||
33 | net none | ||
34 | netfilter | ||
35 | # Uncomment the following line if not loading games from disc | ||
36 | #nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | notv | ||
41 | nou2f | ||
42 | novideo | ||
43 | protocol unix,netlink | ||
44 | #seccomp - breaks loading with no logs | ||
45 | shell none | ||
46 | #tracelog - 32/64 bit incompatibility | ||
47 | |||
48 | private-bin PCSX2 | ||
49 | private-cache | ||
50 | # uncomment the following line if you do not need controller support | ||
51 | #private-dev | ||
52 | 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,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,X11,xdg | ||
53 | private-opt none | ||
54 | private-tmp | ||
55 | |||
56 | dbus-user none | ||
57 | dbus-system none | ||