aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-04-24 09:47:02 +0000
committerLibravatar GitHub <noreply@github.com>2021-04-24 09:47:02 +0000
commita5e85788a940748b04f7b5ba96f42f81332db869 (patch)
treed8cdf99271db4587f5fc54f7e470f5e127202257 /etc
parentMerge pull request #4179 from jose1711/gnomeconnector (diff)
parentCommons of opengl-game-wrapper.sh (diff)
downloadfirejail-a5e85788a940748b04f7b5ba96f42f81332db869.tar.gz
firejail-a5e85788a940748b04f7b5ba96f42f81332db869.tar.zst
firejail-a5e85788a940748b04f7b5ba96f42f81332db869.zip
Merge pull request #4071 from rusty-snake/open-game-wrapper
Commons of opengl-game-wrapper.sh
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/allow-opengl-game.inc3
-rw-r--r--etc/inc/disable-programs.inc6
-rw-r--r--etc/profile-a-l/alienarena-wrapper.profile14
-rw-r--r--etc/profile-a-l/alienarena.profile52
-rw-r--r--etc/profile-a-l/ballbuster-wrapper.profile14
-rw-r--r--etc/profile-a-l/ballbuster.profile52
-rw-r--r--etc/profile-a-l/colorful-wrapper.profile14
-rw-r--r--etc/profile-a-l/colorful.profile52
-rw-r--r--etc/profile-a-l/etr-wrapper.profile14
-rw-r--r--etc/profile-a-l/gl-117-wrapper.profie14
-rw-r--r--etc/profile-a-l/gl-117-wrapper.profile14
-rw-r--r--etc/profile-a-l/gl-117.profile52
-rw-r--r--etc/profile-a-l/glaxium-wrapper.profie14
-rw-r--r--etc/profile-a-l/glaxium-wrapper.profile14
-rw-r--r--etc/profile-a-l/glaxium.profile52
-rw-r--r--etc/profile-m-z/neverball-wrapper.profie14
-rw-r--r--etc/profile-m-z/neverball-wrapper.profile14
-rw-r--r--etc/profile-m-z/neverputt-wrapper.profie14
-rw-r--r--etc/profile-m-z/neverputt-wrapper.profile14
-rw-r--r--etc/profile-m-z/pinball-wrapper.profie14
-rw-r--r--etc/profile-m-z/pinball-wrapper.profile14
-rw-r--r--etc/profile-m-z/pinball.profile52
-rw-r--r--etc/profile-m-z/scorched3d-wrapper.profile7
-rw-r--r--etc/profile-m-z/scorched3d.profile2
-rw-r--r--etc/profile-m-z/supertuxkart-wrapper.profile14
-rw-r--r--etc/profile-m-z/xonotic.profile6
26 files changed, 541 insertions, 5 deletions
diff --git a/etc/inc/allow-opengl-game.inc b/etc/inc/allow-opengl-game.inc
new file mode 100644
index 000000000..b5ff1bd50
--- /dev/null
+++ b/etc/inc/allow-opengl-game.inc
@@ -0,0 +1,3 @@
1noblacklist ${PATH}/bash
2whitelist /usr/share/opengl-games-utils/opengl-game-functions.sh
3private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 0ca8817cb..cf9ef44bf 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -52,6 +52,7 @@ blacklist ${HOME}/.atom
52blacklist ${HOME}/.attic 52blacklist ${HOME}/.attic
53blacklist ${HOME}/.audacity-data 53blacklist ${HOME}/.audacity-data
54blacklist ${HOME}/.avidemux6 54blacklist ${HOME}/.avidemux6
55blacklist ${HOME}/.ballbuster.hs
55blacklist ${HOME}/.balsa 56blacklist ${HOME}/.balsa
56blacklist ${HOME}/.bcast5 57blacklist ${HOME}/.bcast5
57blacklist ${HOME}/.bibletime 58blacklist ${HOME}/.bibletime
@@ -220,6 +221,7 @@ blacklist ${HOME}/.config/d-feet
220blacklist ${HOME}/.config/electron-mail 221blacklist ${HOME}/.config/electron-mail
221blacklist ${HOME}/.config/emaildefaults 222blacklist ${HOME}/.config/emaildefaults
222blacklist ${HOME}/.config/emailidentities 223blacklist ${HOME}/.config/emailidentities
224blacklist ${HOME}/.config/emilia
223blacklist ${HOME}/.config/enchant 225blacklist ${HOME}/.config/enchant
224blacklist ${HOME}/.config/eog 226blacklist ${HOME}/.config/eog
225blacklist ${HOME}/.config/epiphany 227blacklist ${HOME}/.config/epiphany
@@ -491,6 +493,8 @@ blacklist ${HOME}/.frozen-bubble
491blacklist ${HOME}/.gimp* 493blacklist ${HOME}/.gimp*
492blacklist ${HOME}/.gist 494blacklist ${HOME}/.gist
493blacklist ${HOME}/.gitconfig 495blacklist ${HOME}/.gitconfig
496blacklist ${HOME}/.gl-117
497blacklist ${HOME}/.glaxiumrc
494blacklist ${HOME}/.gnome/gnome-schedule 498blacklist ${HOME}/.gnome/gnome-schedule
495blacklist ${HOME}/.googleearth 499blacklist ${HOME}/.googleearth
496blacklist ${HOME}/.gradle 500blacklist ${HOME}/.gradle
@@ -638,6 +642,7 @@ blacklist ${HOME}/.local/share/cdprojektred
638blacklist ${HOME}/.local/share/clipit 642blacklist ${HOME}/.local/share/clipit
639blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate 643blacklist ${HOME}/.local/share/com.github.johnfactotum.Foliate
640blacklist ${HOME}/.local/share/contacts 644blacklist ${HOME}/.local/share/contacts
645blacklist ${HOME}/.local/share/cor-games
641blacklist ${HOME}/.local/share/data/Mendeley Ltd. 646blacklist ${HOME}/.local/share/data/Mendeley Ltd.
642blacklist ${HOME}/.local/share/data/Mumble 647blacklist ${HOME}/.local/share/data/Mumble
643blacklist ${HOME}/.local/share/data/MusE 648blacklist ${HOME}/.local/share/data/MusE
@@ -845,6 +850,7 @@ blacklist ${HOME}/.steampid
845blacklist ${HOME}/.stellarium 850blacklist ${HOME}/.stellarium
846blacklist ${HOME}/.subversion 851blacklist ${HOME}/.subversion
847blacklist ${HOME}/.surf 852blacklist ${HOME}/.surf
853blacklist ${HOME}/.suve/colorful
848blacklist ${HOME}/.swb.ini 854blacklist ${HOME}/.swb.ini
849blacklist ${HOME}/.sword 855blacklist ${HOME}/.sword
850blacklist ${HOME}/.sylpheed-2.0 856blacklist ${HOME}/.sylpheed-2.0
diff --git a/etc/profile-a-l/alienarena-wrapper.profile b/etc/profile-a-l/alienarena-wrapper.profile
new file mode 100644
index 000000000..b31996cd2
--- /dev/null
+++ b/etc/profile-a-l/alienarena-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for alienarena-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include alienarena-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin alienarena-wrapper
12
13# Redirect
14include alienarena.profile
diff --git a/etc/profile-a-l/alienarena.profile b/etc/profile-a-l/alienarena.profile
new file mode 100644
index 000000000..4048b66f8
--- /dev/null
+++ b/etc/profile-a-l/alienarena.profile
@@ -0,0 +1,52 @@
1# Firejail profile for alienarena
2# Description: Multiplayer retro sci-fi deathmatch game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include alienarena.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.local/share/cor-games
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-shell.inc
18include disable-xdg.inc
19
20mkdir ${HOME}/.local/share/cor-games
21whitelist ${HOME}/.local/share/cor-games
22whitelist /usr/share/alienarena
23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30netfilter
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix,inet,inet6
39seccomp
40seccomp.block-secondary
41shell none
42tracelog
43
44disable-mnt
45private-bin alienarena
46private-cache
47private-dev
48private-etc alsa,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,drirc,fonts,glvnd,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,nsswitch.conf,nvidia,pango,pki,protocols,pulse,resolv.conf,rpc,services,ssl,X11
49private-tmp
50
51dbus-user none
52dbus-system none
diff --git a/etc/profile-a-l/ballbuster-wrapper.profile b/etc/profile-a-l/ballbuster-wrapper.profile
new file mode 100644
index 000000000..419dcaab5
--- /dev/null
+++ b/etc/profile-a-l/ballbuster-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for ballbuster-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include ballbuster-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin ballbuster-wrapper
12
13# Redirect
14include ballbuster.profile
diff --git a/etc/profile-a-l/ballbuster.profile b/etc/profile-a-l/ballbuster.profile
new file mode 100644
index 000000000..1c137e6ae
--- /dev/null
+++ b/etc/profile-a-l/ballbuster.profile
@@ -0,0 +1,52 @@
1# Firejail profile for ballbuster
2# Description: Move the paddle to bounce the ball and break all the bricks
3# This file is overwritten after every install/update
4# Persistent local customizations
5include ballbuster.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.ballbuster.hs
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-shell.inc
18include disable-xdg.inc
19
20mkfile ${HOME}/.ballbuster.hs
21whitelist ${HOME}/.ballbuster.hs
22whitelist /usr/share/ballbuster
23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30net none
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40seccomp.block-secondary
41shell none
42tracelog
43
44disable-mnt
45private-bin ballbuster
46private-cache
47private-dev
48private-etc alsa,alternatives,asound.conf,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,pulse
49private-tmp
50
51dbus-user none
52dbus-system none
diff --git a/etc/profile-a-l/colorful-wrapper.profile b/etc/profile-a-l/colorful-wrapper.profile
new file mode 100644
index 000000000..4b762047d
--- /dev/null
+++ b/etc/profile-a-l/colorful-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for colorful-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include colorful-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin colorful-wrapper
12
13# Redirect
14include colorful.profile
diff --git a/etc/profile-a-l/colorful.profile b/etc/profile-a-l/colorful.profile
new file mode 100644
index 000000000..4b8a5e477
--- /dev/null
+++ b/etc/profile-a-l/colorful.profile
@@ -0,0 +1,52 @@
1# Firejail profile for colorful
2# Description: simple 2D sideview shooter
3# This file is overwritten after every install/update
4# Persistent local customizations
5include colorful.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.suve/colorful
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-shell.inc
18include disable-xdg.inc
19
20mkdir ${HOME}/.suve/colorful
21whitelist ${HOME}/.suve/colorful
22whitelist /usr/share/suve
23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30net none
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40seccomp.block-secondary
41shell none
42tracelog
43
44disable-mnt
45private-bin colorful
46private-cache
47private-dev
48private-etc alsa,alternatives,asound.conf,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,pulse
49private-tmp
50
51dbus-user none
52dbus-system none
diff --git a/etc/profile-a-l/etr-wrapper.profile b/etc/profile-a-l/etr-wrapper.profile
new file mode 100644
index 000000000..98f949918
--- /dev/null
+++ b/etc/profile-a-l/etr-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for etr-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include etr-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin etr-wrapper
12
13# Redirect
14include etr.profile
diff --git a/etc/profile-a-l/gl-117-wrapper.profie b/etc/profile-a-l/gl-117-wrapper.profie
new file mode 100644
index 000000000..d783940f3
--- /dev/null
+++ b/etc/profile-a-l/gl-117-wrapper.profie
@@ -0,0 +1,14 @@
1# Firejail profile for gl-117-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include gl-117-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin gl-117-wrapper
12
13# Redirect
14include gl-117.profile
diff --git a/etc/profile-a-l/gl-117-wrapper.profile b/etc/profile-a-l/gl-117-wrapper.profile
new file mode 100644
index 000000000..d783940f3
--- /dev/null
+++ b/etc/profile-a-l/gl-117-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for gl-117-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include gl-117-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin gl-117-wrapper
12
13# Redirect
14include gl-117.profile
diff --git a/etc/profile-a-l/gl-117.profile b/etc/profile-a-l/gl-117.profile
new file mode 100644
index 000000000..87194843a
--- /dev/null
+++ b/etc/profile-a-l/gl-117.profile
@@ -0,0 +1,52 @@
1# Firejail profile for gl-117
2# Description: Action flight simulator
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gl-117.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.gl-117
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-shell.inc
18include disable-xdg.inc
19
20mkdir ${HOME}/.gl-117
21whitelist ${HOME}/.gl-117
22whitelist /usr/share/gl-117
23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30net none
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40seccomp.block-secondary
41shell none
42tracelog
43
44disable-mnt
45private-bin gl-117
46private-cache
47private-dev
48private-etc alsa,alternatives,asound.conf,bumblebee,drirc,glvnd,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,nvidia,pulse
49private-tmp
50
51dbus-user none
52dbus-system none
diff --git a/etc/profile-a-l/glaxium-wrapper.profie b/etc/profile-a-l/glaxium-wrapper.profie
new file mode 100644
index 000000000..7dc2cf65e
--- /dev/null
+++ b/etc/profile-a-l/glaxium-wrapper.profie
@@ -0,0 +1,14 @@
1# Firejail profile for glaxium-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include glaxium-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin glaxium-wrapper
12
13# Redirect
14include glaxium.profile
diff --git a/etc/profile-a-l/glaxium-wrapper.profile b/etc/profile-a-l/glaxium-wrapper.profile
new file mode 100644
index 000000000..7dc2cf65e
--- /dev/null
+++ b/etc/profile-a-l/glaxium-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for glaxium-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include glaxium-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin glaxium-wrapper
12
13# Redirect
14include glaxium.profile
diff --git a/etc/profile-a-l/glaxium.profile b/etc/profile-a-l/glaxium.profile
new file mode 100644
index 000000000..ea5211e9e
--- /dev/null
+++ b/etc/profile-a-l/glaxium.profile
@@ -0,0 +1,52 @@
1# Firejail profile for glaxium
2# Description: 3d spaceship shoot-em-up
3# This file is overwritten after every install/update
4# Persistent local customizations
5include glaxium.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.glaxiumrc
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-shell.inc
18include disable-xdg.inc
19
20mkfile ${HOME}/.glaxiumrc
21whitelist ${HOME}/.glaxiumrc
22whitelist /usr/share/glaxium
23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30net none
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40seccomp.block-secondary
41shell none
42tracelog
43
44disable-mnt
45private-bin glaxium
46private-cache
47private-dev
48private-etc alsa,alternatives,asound.conf,bumblebee,drirc,glvnd,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,nvidia,pulse
49private-tmp
50
51dbus-user none
52dbus-system none
diff --git a/etc/profile-m-z/neverball-wrapper.profie b/etc/profile-m-z/neverball-wrapper.profie
new file mode 100644
index 000000000..534e41dd1
--- /dev/null
+++ b/etc/profile-m-z/neverball-wrapper.profie
@@ -0,0 +1,14 @@
1# Firejail profile for neverball-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include neverball-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin neverball-wrapper
12
13# Redirect
14include neverball.profile
diff --git a/etc/profile-m-z/neverball-wrapper.profile b/etc/profile-m-z/neverball-wrapper.profile
new file mode 100644
index 000000000..534e41dd1
--- /dev/null
+++ b/etc/profile-m-z/neverball-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for neverball-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include neverball-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin neverball-wrapper
12
13# Redirect
14include neverball.profile
diff --git a/etc/profile-m-z/neverputt-wrapper.profie b/etc/profile-m-z/neverputt-wrapper.profie
new file mode 100644
index 000000000..dacd113cc
--- /dev/null
+++ b/etc/profile-m-z/neverputt-wrapper.profie
@@ -0,0 +1,14 @@
1# Firejail profile for neverputt-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include neverputt-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin neverputt-wrapper
12
13# Redirect
14include neverputt.profile
diff --git a/etc/profile-m-z/neverputt-wrapper.profile b/etc/profile-m-z/neverputt-wrapper.profile
new file mode 100644
index 000000000..dacd113cc
--- /dev/null
+++ b/etc/profile-m-z/neverputt-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for neverputt-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include neverputt-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin neverputt-wrapper
12
13# Redirect
14include neverputt.profile
diff --git a/etc/profile-m-z/pinball-wrapper.profie b/etc/profile-m-z/pinball-wrapper.profie
new file mode 100644
index 000000000..2b5ed6e27
--- /dev/null
+++ b/etc/profile-m-z/pinball-wrapper.profie
@@ -0,0 +1,14 @@
1# Firejail profile for pinball-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include pinball-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin pinball-wrapper
12
13# Redirect
14include pinball.profile
diff --git a/etc/profile-m-z/pinball-wrapper.profile b/etc/profile-m-z/pinball-wrapper.profile
new file mode 100644
index 000000000..2b5ed6e27
--- /dev/null
+++ b/etc/profile-m-z/pinball-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for pinball-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include pinball-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin pinball-wrapper
12
13# Redirect
14include pinball.profile
diff --git a/etc/profile-m-z/pinball.profile b/etc/profile-m-z/pinball.profile
new file mode 100644
index 000000000..feeed8184
--- /dev/null
+++ b/etc/profile-m-z/pinball.profile
@@ -0,0 +1,52 @@
1# Firejail profile for pinball
2# Description: Emilia 3D Pinball Game
3# This file is overwritten after every install/update
4# Persistent local customizations
5include pinball.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/emilia
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-shell.inc
18include disable-xdg.inc
19
20mkdir ${HOME}/.config/emilia
21whitelist ${HOME}/.config/emilia
22whitelist /usr/share/pinball
23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30net none
31nodvd
32nogroups
33nonewprivs
34noroot
35notv
36nou2f
37novideo
38protocol unix
39seccomp
40seccomp.block-secondary
41shell none
42tracelog
43
44disable-mnt
45private-bin pinball
46private-cache
47private-dev
48private-etc alsa,alternatives,asound.conf,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,machine-id,pulse
49private-tmp
50
51dbus-user none
52dbus-system none
diff --git a/etc/profile-m-z/scorched3d-wrapper.profile b/etc/profile-m-z/scorched3d-wrapper.profile
index 507d0827e..e76caec1d 100644
--- a/etc/profile-m-z/scorched3d-wrapper.profile
+++ b/etc/profile-m-z/scorched3d-wrapper.profile
@@ -1,10 +1,11 @@
1# Firejail profile for scorched3d 1# Firejail profile for scorched3d-wrapper
2# This file is overwritten after every install/update 2# This file is overwritten after every install/update
3# Persistent local customizations 3# Persistent local customizations
4include scorched3d-wrapper.local 4include scorched3d-wrapper.local
5 5
6whitelist /usr/share/opengl-games-utils 6include allow-opengl-game.inc
7private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity 7
8private-bin scorched3d-wrapper
8 9
9# Redirect 10# Redirect
10include scorched3d.profile 11include scorched3d.profile
diff --git a/etc/profile-m-z/scorched3d.profile b/etc/profile-m-z/scorched3d.profile
index 6a1003c33..1808018d1 100644
--- a/etc/profile-m-z/scorched3d.profile
+++ b/etc/profile-m-z/scorched3d.profile
@@ -40,7 +40,7 @@ shell none
40tracelog 40tracelog
41 41
42disable-mnt 42disable-mnt
43private-bin scorched3d,scorched3d-wrapper,scorched3dc,scorched3ds 43private-bin scorched3d,scorched3dc,scorched3ds
44private-cache 44private-cache
45private-dev 45private-dev
46private-tmp 46private-tmp
diff --git a/etc/profile-m-z/supertuxkart-wrapper.profile b/etc/profile-m-z/supertuxkart-wrapper.profile
new file mode 100644
index 000000000..af8d73deb
--- /dev/null
+++ b/etc/profile-m-z/supertuxkart-wrapper.profile
@@ -0,0 +1,14 @@
1# Firejail profile for supertuxkart-wrapper
2# This file is overwritten after every install/update
3# Persistent local customizations
4include supertuxkart-wrapper.local
5# Persistent global definitions
6# added by included profile
7#include globals.local
8
9include allow-opengl-game.inc
10
11private-bin supertuxkart-wrapper
12
13# Redirect
14include supertuxkart.profile
diff --git a/etc/profile-m-z/xonotic.profile b/etc/profile-m-z/xonotic.profile
index aa8cc7d0e..df6c34fbb 100644
--- a/etc/profile-m-z/xonotic.profile
+++ b/etc/profile-m-z/xonotic.profile
@@ -8,12 +8,16 @@ include globals.local
8 8
9noblacklist ${HOME}/.xonotic 9noblacklist ${HOME}/.xonotic
10 10
11include allow-bin-sh.inc
12include allow-opengl-game.inc
13
11include disable-common.inc 14include disable-common.inc
12include disable-devel.inc 15include disable-devel.inc
13include disable-exec.inc 16include disable-exec.inc
14include disable-interpreters.inc 17include disable-interpreters.inc
15include disable-passwdmgr.inc 18include disable-passwdmgr.inc
16include disable-programs.inc 19include disable-programs.inc
20include disable-shell.inc
17include disable-xdg.inc 21include disable-xdg.inc
18 22
19mkdir ${HOME}/.xonotic 23mkdir ${HOME}/.xonotic
@@ -41,7 +45,7 @@ tracelog
41 45
42disable-mnt 46disable-mnt
43private-cache 47private-cache
44private-bin basename,bash,blind-id,cut,darkplaces-glx,darkplaces-sdl,dirname,glxinfo,grep,head,ldd,netstat,ps,readlink,sed,sh,uname,xonotic,xonotic-glx,xonotic-linux32-dedicated,xonotic-linux32-glx,xonotic-linux32-sdl,xonotic-linux64-dedicated,xonotic-linux64-glx,xonotic-linux64-sdl,xonotic-sdl,xonotic-sdl-wrapper,zenity 48private-bin blind-id,darkplaces-glx,darkplaces-sdl,dirname,ldd,netstat,ps,readlink,sh,uname,xonotic*
45private-dev 49private-dev
46private-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 50private-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
47private-tmp 51private-tmp