diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 6 | ||||
-rw-r--r-- | etc/profile-a-l/bcompare.profile | 62 | ||||
-rw-r--r-- | etc/profile-a-l/dolphin-emu.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/jami-gnome.profile | 42 | ||||
-rw-r--r-- | etc/profile-m-z/PCSX2.profile | 57 | ||||
-rw-r--r-- | etc/profile-m-z/PPSSPPSDL.profile | 9 | ||||
-rw-r--r-- | etc/profile-m-z/man.profile | 2 | ||||
-rw-r--r-- | etc/profile-m-z/nodejs-common.profile | 4 | ||||
-rw-r--r-- | etc/profile-m-z/openmw-launcher.profile | 7 | ||||
-rw-r--r-- | etc/profile-m-z/openmw.profile | 61 | ||||
-rw-r--r-- | etc/profile-m-z/pcsxr.profile | 57 | ||||
-rw-r--r-- | etc/profile-m-z/ppsspp.profile | 14 |
12 files changed, 318 insertions, 4 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 84eb51b9f..9dffa750a 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -167,6 +167,7 @@ blacklist ${HOME}/.config/aweather | |||
167 | blacklist ${HOME}/.config/backintime | 167 | blacklist ${HOME}/.config/backintime |
168 | blacklist ${HOME}/.config/baloofilerc | 168 | blacklist ${HOME}/.config/baloofilerc |
169 | blacklist ${HOME}/.config/baloorc | 169 | blacklist ${HOME}/.config/baloorc |
170 | blacklist ${HOME}/.config/bcompare | ||
170 | blacklist ${HOME}/.config/blender | 171 | blacklist ${HOME}/.config/blender |
171 | blacklist ${HOME}/.config/bless | 172 | blacklist ${HOME}/.config/bless |
172 | blacklist ${HOME}/.config/bnox | 173 | blacklist ${HOME}/.config/bnox |
@@ -268,6 +269,7 @@ blacklist ${HOME}/.config/inkscape | |||
268 | blacklist ${HOME}/.config/inox | 269 | blacklist ${HOME}/.config/inox |
269 | blacklist ${HOME}/.config/iridium | 270 | blacklist ${HOME}/.config/iridium |
270 | blacklist ${HOME}/.config/itch | 271 | blacklist ${HOME}/.config/itch |
272 | blacklist ${HOME}/.config/jami | ||
271 | blacklist ${HOME}/.config/jd-gui.cfg | 273 | blacklist ${HOME}/.config/jd-gui.cfg |
272 | blacklist ${HOME}/.config/k3brc | 274 | blacklist ${HOME}/.config/k3brc |
273 | blacklist ${HOME}/.config/kaffeinerc | 275 | blacklist ${HOME}/.config/kaffeinerc |
@@ -348,6 +350,7 @@ blacklist ${HOME}/.config/okularrc | |||
348 | blacklist ${HOME}/.config/onboard | 350 | blacklist ${HOME}/.config/onboard |
349 | blacklist ${HOME}/.config/onionshare | 351 | blacklist ${HOME}/.config/onionshare |
350 | blacklist ${HOME}/.config/onlyoffice | 352 | blacklist ${HOME}/.config/onlyoffice |
353 | blacklist ${HOME}/.config/openmw | ||
351 | blacklist ${HOME}/.config/opera | 354 | blacklist ${HOME}/.config/opera |
352 | blacklist ${HOME}/.config/opera-beta | 355 | blacklist ${HOME}/.config/opera-beta |
353 | blacklist ${HOME}/.config/orage | 356 | blacklist ${HOME}/.config/orage |
@@ -666,6 +669,7 @@ blacklist ${HOME}/.local/share/gradio | |||
666 | blacklist ${HOME}/.local/share/gwenview | 669 | blacklist ${HOME}/.local/share/gwenview |
667 | blacklist ${HOME}/.local/share/i2p | 670 | blacklist ${HOME}/.local/share/i2p |
668 | blacklist ${HOME}/.local/share/IntoTheBreach | 671 | blacklist ${HOME}/.local/share/IntoTheBreach |
672 | blacklist ${HOME}/.local/share/jami | ||
669 | blacklist ${HOME}/.local/share/kaffeine | 673 | blacklist ${HOME}/.local/share/kaffeine |
670 | blacklist ${HOME}/.local/share/kalgebra | 674 | blacklist ${HOME}/.local/share/kalgebra |
671 | blacklist ${HOME}/.local/share/kate | 675 | blacklist ${HOME}/.local/share/kate |
@@ -716,6 +720,7 @@ blacklist ${HOME}/.local/share/notes | |||
716 | blacklist ${HOME}/.local/share/ocenaudio | 720 | blacklist ${HOME}/.local/share/ocenaudio |
717 | blacklist ${HOME}/.local/share/okular | 721 | blacklist ${HOME}/.local/share/okular |
718 | blacklist ${HOME}/.local/share/onlyoffice | 722 | blacklist ${HOME}/.local/share/onlyoffice |
723 | blacklist ${HOME}/.local/share/openmw | ||
719 | blacklist ${HOME}/.local/share/orage | 724 | blacklist ${HOME}/.local/share/orage |
720 | blacklist ${HOME}/.local/share/org.kde.gwenview | 725 | blacklist ${HOME}/.local/share/org.kde.gwenview |
721 | blacklist ${HOME}/.local/share/Paradox Interactive | 726 | blacklist ${HOME}/.local/share/Paradox Interactive |
@@ -799,6 +804,7 @@ blacklist ${HOME}/.opera-beta | |||
799 | blacklist ${HOME}/.ostrichriders | 804 | blacklist ${HOME}/.ostrichriders |
800 | blacklist ${HOME}/.paradoxinteractive | 805 | blacklist ${HOME}/.paradoxinteractive |
801 | blacklist ${HOME}/.parallelrealities/blobwars | 806 | blacklist ${HOME}/.parallelrealities/blobwars |
807 | blacklist ${HOME}/.pcsxr | ||
802 | blacklist ${HOME}/.penguin-command | 808 | blacklist ${HOME}/.penguin-command |
803 | blacklist ${HOME}/.pingus | 809 | blacklist ${HOME}/.pingus |
804 | blacklist ${HOME}/.pioneer | 810 | blacklist ${HOME}/.pioneer |
diff --git a/etc/profile-a-l/bcompare.profile b/etc/profile-a-l/bcompare.profile new file mode 100644 index 000000000..178e2dc9f --- /dev/null +++ b/etc/profile-a-l/bcompare.profile | |||
@@ -0,0 +1,62 @@ | |||
1 | # Firejail profile for Beyond Compare by Scooter Software | ||
2 | # Description: directory and file compare utility | ||
3 | # Disables the network, which only impacts checking for updates. | ||
4 | # This file is overwritten after every install/update | ||
5 | # Persistent local customizations | ||
6 | include bcompare.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.config/bcompare | ||
11 | # In case the user decides to include disable-programs.inc, still allow | ||
12 | # KDE's Gwenview to view images via right click -> Open With -> Associated Application | ||
13 | noblacklist ${HOME}/.config/gwenviewrc | ||
14 | |||
15 | # Uncomment the next line (or put it into your bcompare.local) if you don't need to compare files in disable-common.inc | ||
16 | #include disable-common.inc | ||
17 | include disable-devel.inc | ||
18 | include disable-exec.inc | ||
19 | include disable-interpreters.inc | ||
20 | include disable-passwdmgr.inc | ||
21 | # Uncomment the next line (or put it into your bcompare.local) if you don't need to compare files in disable-programs.inc | ||
22 | #include disable-programs.inc | ||
23 | # Uncommenting this breaks launch | ||
24 | # include disable-shell.inc | ||
25 | include disable-write-mnt.inc | ||
26 | # Don't disable ${DOCUMENTS}, ${MUSIC}, ${PICTURES}, ${VIDEOS} | ||
27 | # include disable-xdg.inc | ||
28 | |||
29 | # include whitelist-common.inc | ||
30 | # include whitelist-runuser-common.inc | ||
31 | # include whitelist-usr-share-common.inc | ||
32 | # include whitelist-var-common.inc | ||
33 | |||
34 | apparmor | ||
35 | caps.drop all | ||
36 | # Uncommenting might break Pulse Audio | ||
37 | #machine-id | ||
38 | net none | ||
39 | no3d | ||
40 | nodvd | ||
41 | nogroups | ||
42 | nonewprivs | ||
43 | noroot | ||
44 | # Allow applications launched on sound files to play them | ||
45 | #nosound | ||
46 | notv | ||
47 | nou2f | ||
48 | novideo | ||
49 | protocol unix | ||
50 | seccomp | ||
51 | shell none | ||
52 | tracelog | ||
53 | |||
54 | private-cache | ||
55 | private-dev | ||
56 | # see /usr/share/doc/firejail/profile.template for more common private-etc paths. | ||
57 | # private-etc alternatives,fonts,machine-id | ||
58 | # Necessary because of the `include disable-exec.inc` line. Prevents error "Error fstat: fs.c:504 fs_remount_simple: Transport endpoint is not connected ... cannot sync with peer: unexpected EOF Peer [...] unexpectedly exited with status 1" | ||
59 | private-tmp | ||
60 | |||
61 | dbus-user none | ||
62 | dbus-system none | ||
diff --git a/etc/profile-a-l/dolphin-emu.profile b/etc/profile-a-l/dolphin-emu.profile index 13d830b55..fc920a065 100644 --- a/etc/profile-a-l/dolphin-emu.profile +++ b/etc/profile-a-l/dolphin-emu.profile | |||
@@ -18,6 +18,7 @@ include disable-exec.inc | |||
18 | include disable-interpreters.inc | 18 | include disable-interpreters.inc |
19 | include disable-passwdmgr.inc | 19 | include disable-passwdmgr.inc |
20 | include disable-programs.inc | 20 | include disable-programs.inc |
21 | include disable-write-mnt.inc | ||
21 | include disable-xdg.inc | 22 | include disable-xdg.inc |
22 | 23 | ||
23 | mkdir ${HOME}/.cache/dolphin-emu | 24 | mkdir ${HOME}/.cache/dolphin-emu |
diff --git a/etc/profile-a-l/jami-gnome.profile b/etc/profile-a-l/jami-gnome.profile new file mode 100644 index 000000000..226bb0008 --- /dev/null +++ b/etc/profile-a-l/jami-gnome.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Firejail profile for jami-gnome | ||
2 | # Description: An encrypted peer-to-peer messenger | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include jami-gnome.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/jami | ||
10 | noblacklist ${HOME}/.local/share/jami | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | #include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | |||
19 | mkdir ${HOME}/.config/jami | ||
20 | mkdir ${HOME}/.local/share/jami | ||
21 | whitelist ${HOME}/.config/jami | ||
22 | whitelist ${HOME}/.local/share/jami | ||
23 | include whitelist-common.inc | ||
24 | include whitelist-var-common.inc | ||
25 | |||
26 | caps.drop all | ||
27 | ipc-namespace | ||
28 | netfilter | ||
29 | nodvd | ||
30 | nogroups | ||
31 | nonewprivs | ||
32 | noroot | ||
33 | notv | ||
34 | protocol unix,inet,inet6,netlink | ||
35 | seccomp | ||
36 | shell none | ||
37 | |||
38 | disable-mnt | ||
39 | private-dev | ||
40 | private-tmp | ||
41 | |||
42 | env QT_QPA_PLATFORM=xcb | ||
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 | ||
diff --git a/etc/profile-m-z/PPSSPPSDL.profile b/etc/profile-m-z/PPSSPPSDL.profile new file mode 100644 index 000000000..deb00a436 --- /dev/null +++ b/etc/profile-m-z/PPSSPPSDL.profile | |||
@@ -0,0 +1,9 @@ | |||
1 | # Firejail profile for PPSSPPSDL | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include PPSSPPSDL.local | ||
5 | # added by included profile | ||
6 | #include globals.local | ||
7 | |||
8 | # Redirect | ||
9 | include ppsspp.profile | ||
diff --git a/etc/profile-m-z/man.profile b/etc/profile-m-z/man.profile index c6c50cf47..965750bf0 100644 --- a/etc/profile-m-z/man.profile +++ b/etc/profile-m-z/man.profile | |||
@@ -57,7 +57,7 @@ disable-mnt | |||
57 | #private-bin apropos,bash,cat,catman,col,gpreconv,groff,grotty,gunzip,gzip,less,man,most,nroff,preconv,sed,sh,tbl,tr,troff,whatis,which,xtotroff,zcat,zsoelim | 57 | #private-bin apropos,bash,cat,catman,col,gpreconv,groff,grotty,gunzip,gzip,less,man,most,nroff,preconv,sed,sh,tbl,tr,troff,whatis,which,xtotroff,zcat,zsoelim |
58 | private-cache | 58 | private-cache |
59 | private-dev | 59 | private-dev |
60 | private-etc alternatives,fonts,locale,locale.alias,locale.conf,man_db.conf,manpath.config,selinux,sysless,xdg | 60 | private-etc alternatives,fonts,groff,locale,locale.alias,locale.conf,man_db.conf,manpath.config,selinux,sysless,xdg |
61 | private-tmp | 61 | private-tmp |
62 | 62 | ||
63 | dbus-user none | 63 | dbus-user none |
diff --git a/etc/profile-m-z/nodejs-common.profile b/etc/profile-m-z/nodejs-common.profile index c12fc9a78..202905631 100644 --- a/etc/profile-m-z/nodejs-common.profile +++ b/etc/profile-m-z/nodejs-common.profile | |||
@@ -1,5 +1,5 @@ | |||
1 | # Firejail profile for Node.js | 1 | # Firejail profile for Node.js |
2 | # Description: Common profile for npm/yarn | 2 | # Description: Asynchronous event-driven JavaScript runtime |
3 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 4 | # Persistent local customizations |
5 | include nodejs-common.local | 5 | include nodejs-common.local |
@@ -45,7 +45,9 @@ shell none | |||
45 | 45 | ||
46 | disable-mnt | 46 | disable-mnt |
47 | private-dev | 47 | private-dev |
48 | # May need to add `passwd` to `private-etc` below to enable debugging with some IDEs | ||
48 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,login.defs,mime.types,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl,xdg | 49 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,login.defs,mime.types,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl,xdg |
50 | # May need to be commented out in order to enable debugging with some IDEs | ||
49 | private-tmp | 51 | private-tmp |
50 | 52 | ||
51 | dbus-user none | 53 | dbus-user none |
diff --git a/etc/profile-m-z/openmw-launcher.profile b/etc/profile-m-z/openmw-launcher.profile new file mode 100644 index 000000000..c9cc144e4 --- /dev/null +++ b/etc/profile-m-z/openmw-launcher.profile | |||
@@ -0,0 +1,7 @@ | |||
1 | # Firejail profile for openmw-launcher | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include openmw-launcher.local | ||
5 | |||
6 | # Redirect | ||
7 | include openmw.profile | ||
diff --git a/etc/profile-m-z/openmw.profile b/etc/profile-m-z/openmw.profile new file mode 100644 index 000000000..270d64c1e --- /dev/null +++ b/etc/profile-m-z/openmw.profile | |||
@@ -0,0 +1,61 @@ | |||
1 | # Firejail profile for openmw | ||
2 | # Description: Open source engine re-implementation for Morrowind | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include openmw.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/openmw | ||
10 | noblacklist ${HOME}/.local/share/openmw | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-shell.inc | ||
19 | include disable-write-mnt.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | mkdir ${HOME}/.config/openmw | ||
23 | mkdir ${HOME}/.local/share/openmw | ||
24 | whitelist ${HOME}/.config/openmw | ||
25 | # Copy Morrowind data files into the following directory or load it from /mnt | ||
26 | # or whitelist it in a openmw.local | ||
27 | whitelist ${HOME}/.local/share/openmw | ||
28 | whitelist /usr/share/openmw | ||
29 | include whitelist-common.inc | ||
30 | include whitelist-runuser-common.inc | ||
31 | include whitelist-usr-share-common.inc | ||
32 | include whitelist-var-common.inc | ||
33 | |||
34 | apparmor | ||
35 | caps.drop all | ||
36 | ipc-namespace | ||
37 | net none | ||
38 | netfilter | ||
39 | # Uncomment the following line if installing from disc | ||
40 | nodvd | ||
41 | nogroups | ||
42 | nonewprivs | ||
43 | noroot | ||
44 | notv | ||
45 | nou2f | ||
46 | novideo | ||
47 | protocol unix,netlink | ||
48 | seccomp | ||
49 | seccomp.block-secondary | ||
50 | shell none | ||
51 | tracelog | ||
52 | |||
53 | private-bin bsatool,esmtool,niftest,openmw,openmw-cs,openmw-essimporter,openmw-iniimporter,openmw-launcher,openmw-wizard | ||
54 | private-cache | ||
55 | private-dev | ||
56 | private-etc alsa,alternatives,asound.conf,bumblebee,drirc,fonts,glvnd,group,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nvidia,openmw,pango,passwd,pulse,Trolltech.conf,X11,xdg | ||
57 | private-opt none | ||
58 | private-tmp | ||
59 | |||
60 | dbus-user none | ||
61 | dbus-system none | ||
diff --git a/etc/profile-m-z/pcsxr.profile b/etc/profile-m-z/pcsxr.profile new file mode 100644 index 000000000..c25c4ae66 --- /dev/null +++ b/etc/profile-m-z/pcsxr.profile | |||
@@ -0,0 +1,57 @@ | |||
1 | # Firejail profile for pcsxr | ||
2 | # Description: A PlayStation emulator | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include pcsxr.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Note: you must whitelist your games folder in a pcsxr.local | ||
10 | |||
11 | noblacklist ${HOME}/.pcsxr | ||
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}/.pcsxr | ||
24 | whitelist ${HOME}/.pcsxr | ||
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 | ||
45 | shell none | ||
46 | tracelog | ||
47 | |||
48 | private-bin pcsxr | ||
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 | ||
diff --git a/etc/profile-m-z/ppsspp.profile b/etc/profile-m-z/ppsspp.profile index c71553bcd..263d99c83 100644 --- a/etc/profile-m-z/ppsspp.profile +++ b/etc/profile-m-z/ppsspp.profile | |||
@@ -1,13 +1,14 @@ | |||
1 | # Firejail profile for ppsspp | 1 | # Firejail profile for ppsspp |
2 | # Description: A PSP emulator written in C++ | 2 | # Description: A PSP emulator |
3 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 4 | # Persistent local customizations |
5 | include ppsspp.local | 5 | include ppsspp.local |
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | # Note: you must whitelist your games folder in a ppsspp.local | ||
10 | |||
9 | noblacklist ${HOME}/.config/ppsspp | 11 | noblacklist ${HOME}/.config/ppsspp |
10 | noblacklist ${DOCUMENTS} | ||
11 | 12 | ||
12 | include disable-common.inc | 13 | include disable-common.inc |
13 | include disable-devel.inc | 14 | include disable-devel.inc |
@@ -15,8 +16,15 @@ include disable-exec.inc | |||
15 | include disable-interpreters.inc | 16 | include disable-interpreters.inc |
16 | include disable-passwdmgr.inc | 17 | include disable-passwdmgr.inc |
17 | include disable-programs.inc | 18 | include disable-programs.inc |
19 | include disable-write-mnt.inc | ||
18 | include disable-xdg.inc | 20 | include disable-xdg.inc |
19 | 21 | ||
22 | mkdir ${HOME}/.config/ppsspp | ||
23 | whitelist ${HOME}/.config/ppsspp | ||
24 | whitelist /usr/share/ppsspp | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-runuser-common.inc | ||
27 | include whitelist-usr-share-common.inc | ||
20 | include whitelist-var-common.inc | 28 | include whitelist-var-common.inc |
21 | 29 | ||
22 | caps.drop all | 30 | caps.drop all |
@@ -27,11 +35,13 @@ nogroups | |||
27 | nonewprivs | 35 | nonewprivs |
28 | noroot | 36 | noroot |
29 | notv | 37 | notv |
38 | nou2f | ||
30 | novideo | 39 | novideo |
31 | protocol unix,netlink | 40 | protocol unix,netlink |
32 | seccomp | 41 | seccomp |
33 | shell none | 42 | shell none |
34 | 43 | ||
44 | private-bin ppsspp,PPSSPP,PPSSPPQt,PPSSPPSDL | ||
35 | # uncomment the following line if you do not need controller support | 45 | # uncomment the following line if you do not need controller support |
36 | #private-dev | 46 | #private-dev |
37 | private-etc alternatives,asound.conf,ca-certificates,crypto-policies,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,machine-id,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl | 47 | private-etc alternatives,asound.conf,ca-certificates,crypto-policies,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,machine-id,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl |