aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Adrian L. Shaw <adrianlshaw@gmail.com>2022-01-06 16:57:20 +0000
committerLibravatar Adrian L. Shaw <adrianlshaw@gmail.com>2022-01-06 16:57:20 +0000
commitd417615be8a9a9bdbdd4dd21aea39b091b5e5fa3 (patch)
tree5747418fb5d5ab8dd48812e438148fd6160c9cd8 /etc
parentMerge pull request #4824 from glitsj16/notable (diff)
downloadfirejail-d417615be8a9a9bdbdd4dd21aea39b091b5e5fa3.tar.gz
firejail-d417615be8a9a9bdbdd4dd21aea39b091b5e5fa3.tar.zst
firejail-d417615be8a9a9bdbdd4dd21aea39b091b5e5fa3.zip
Add rpcs3 profile
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc2
-rw-r--r--etc/profile-m-z/rpcs3.profile62
2 files changed, 64 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 02407f54f..ca8820ab6 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -192,6 +192,7 @@ blacklist ${HOME}/.cache/qupzilla
192blacklist ${HOME}/.cache/qutebrowser 192blacklist ${HOME}/.cache/qutebrowser
193blacklist ${HOME}/.cache/rednotebook 193blacklist ${HOME}/.cache/rednotebook
194blacklist ${HOME}/.cache/rhythmbox 194blacklist ${HOME}/.cache/rhythmbox
195blacklist ${HOME}/.cache/rpcs3
195blacklist ${HOME}/.cache/shotwell 196blacklist ${HOME}/.cache/shotwell
196blacklist ${HOME}/.cache/simple-scan 197blacklist ${HOME}/.cache/simple-scan
197blacklist ${HOME}/.cache/slimjet 198blacklist ${HOME}/.cache/slimjet
@@ -573,6 +574,7 @@ blacklist ${HOME}/.config/redshift
573blacklist ${HOME}/.config/redshift.conf 574blacklist ${HOME}/.config/redshift.conf
574blacklist ${HOME}/.config/remmina 575blacklist ${HOME}/.config/remmina
575blacklist ${HOME}/.config/ristretto 576blacklist ${HOME}/.config/ristretto
577blacklist ${HOME}/.config/rpcs3
576blacklist ${HOME}/.config/rtv 578blacklist ${HOME}/.config/rtv
577blacklist ${HOME}/.config/scribus 579blacklist ${HOME}/.config/scribus
578blacklist ${HOME}/.config/scribusrc 580blacklist ${HOME}/.config/scribusrc
diff --git a/etc/profile-m-z/rpcs3.profile b/etc/profile-m-z/rpcs3.profile
new file mode 100644
index 000000000..147afb236
--- /dev/null
+++ b/etc/profile-m-z/rpcs3.profile
@@ -0,0 +1,62 @@
1# Firejail profile for RPCS3 emulator
2# Description: RPCS3 emulator
3# This file is overwritten after every install/update
4# Persistent local customizations
5include rpcs3.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/rpcs3
10noblacklist ${HOME}/.cache/rpcs3
11# Don't block access to /sbin and /usr/sbin to allow using ldconfig. Otherwise
12# won't even start.
13noblacklist /sbin
14noblacklist /usr/sbin
15
16blacklist /usr/libexec
17
18include disable-common.inc
19include disable-devel.inc
20include disable-exec.inc
21include disable-interpreters.inc
22include disable-programs.inc # disable if PPU compilation crashes
23include disable-shell.inc
24include disable-xdg.inc
25
26mkdir ${HOME}/.cache/rpcs3
27mkdir ${HOME}/.config/rpcs3
28whitelist ${HOME}/.cache/rpcs3
29whitelist ${HOME}/.config/rpcs3
30whitelist ${DOWNLOADS}
31include whitelist-common.inc
32include whitelist-run-common.inc
33include whitelist-runuser-common.inc
34include whitelist-usr-share-common.inc
35include whitelist-var-common.inc
36
37apparmor
38caps.drop all
39net none
40netfilter
41nodvd
42nogroups
43#noinput
44nonewprivs
45noroot
46noprinters
47notv
48nou2f
49novideo
50protocol unix,netlink
51seccomp
52seccomp.block-secondary
53shell none
54tracelog
55
56disable-mnt
57#private-cache
58#private-etc ca-certificates,crypto-policies,machine-id,pki,resolv.conf,ssl # seems to need awk
59private-tmp
60
61dbus-user none
62dbus-system none