aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-29 16:45:57 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-04-29 17:06:23 -0300
commit6ff97d00094052c9c9c2ca57b5e96645b3f93230 (patch)
treeceac8428df86f12319952368fe1ee933135a4b2b /etc
parentseveral kids programs (diff)
downloadfirejail-6ff97d00094052c9c9c2ca57b5e96645b3f93230.tar.gz
firejail-6ff97d00094052c9c9c2ca57b5e96645b3f93230.tar.zst
firejail-6ff97d00094052c9c9c2ca57b5e96645b3f93230.zip
profiles: fix new game profiles
Fix sorting and improve comments. See etc/templates/profile.template. This amends commit 4c5f55899 ("several kids programs", 2024-04-29).
Diffstat (limited to 'etc')
-rw-r--r--etc/profile-a-l/alienblaster.profile12
-rw-r--r--etc/profile-a-l/geki2.profile6
-rw-r--r--etc/profile-a-l/geki3.profile6
-rw-r--r--etc/profile-a-l/lbreakouthd.profile13
-rw-r--r--etc/profile-m-z/tuxtype.profile10
-rw-r--r--etc/profile-m-z/typespeed.profile9
6 files changed, 27 insertions, 29 deletions
diff --git a/etc/profile-a-l/alienblaster.profile b/etc/profile-a-l/alienblaster.profile
index 0e0478a49..2de296f53 100644
--- a/etc/profile-a-l/alienblaster.profile
+++ b/etc/profile-a-l/alienblaster.profile
@@ -14,16 +14,16 @@ include disable-interpreters.inc
14include disable-programs.inc 14include disable-programs.inc
15include disable-xdg.inc 15include disable-xdg.inc
16 16
17mkfile ${HOME}/.alienblaster_highscore
18whitelist ${HOME}/.alienblaster_highscore
19mkdir ${HOME}/.alienblaster 17mkdir ${HOME}/.alienblaster
18mkfile ${HOME}/.alienblaster_highscore
20whitelist ${HOME}/.alienblaster 19whitelist ${HOME}/.alienblaster
21include whitelist-common.inc 20whitelist ${HOME}/.alienblaster_highscore
22include whitelist-run-common.inc
23whitelist ${RUNUSER}/pulse 21whitelist ${RUNUSER}/pulse
24include whitelist-runuser-common.inc
25whitelist /usr/share/games/alienblaster 22whitelist /usr/share/games/alienblaster
26whitelist /usr/share/timidity 23whitelist /usr/share/timidity
24include whitelist-common.inc
25include whitelist-run-common.inc
26include whitelist-runuser-common.inc
27include whitelist-usr-share-common.inc 27include whitelist-usr-share-common.inc
28include whitelist-var-common.inc 28include whitelist-var-common.inc
29 29
@@ -45,7 +45,7 @@ tracelog
45 45
46disable-mnt 46disable-mnt
47private-dev 47private-dev
48private-etc @x11,@sound,@games 48private-etc @games,@sound,@x11
49private-tmp 49private-tmp
50 50
51dbus-user none 51dbus-user none
diff --git a/etc/profile-a-l/geki2.profile b/etc/profile-a-l/geki2.profile
index 32ff9c8af..5ebd9b427 100644
--- a/etc/profile-a-l/geki2.profile
+++ b/etc/profile-a-l/geki2.profile
@@ -12,11 +12,10 @@ include disable-programs.inc
12include disable-shell.inc 12include disable-shell.inc
13include disable-xdg.inc 13include disable-xdg.inc
14 14
15whitelist /usr/share/games/geki2
15include whitelist-run-common.inc 16include whitelist-run-common.inc
16include whitelist-runuser-common.inc 17include whitelist-runuser-common.inc
17whitelist /usr/share/games/geki2
18include whitelist-usr-share-common.inc 18include whitelist-usr-share-common.inc
19writable-var # game scores stored under /var/games
20include whitelist-var-common.inc 19include whitelist-var-common.inc
21 20
22apparmor 21apparmor
@@ -39,8 +38,9 @@ disable-mnt
39private 38private
40private-bin geki2 39private-bin geki2
41private-dev 40private-dev
42private-etc @x11,@sound,@games 41private-etc @games,@sound,@x11
43private-tmp 42private-tmp
43writable-var # game scores are stored under /var/games
44 44
45dbus-user none 45dbus-user none
46dbus-system none 46dbus-system none
diff --git a/etc/profile-a-l/geki3.profile b/etc/profile-a-l/geki3.profile
index de2167724..508c96002 100644
--- a/etc/profile-a-l/geki3.profile
+++ b/etc/profile-a-l/geki3.profile
@@ -12,11 +12,10 @@ include disable-programs.inc
12include disable-shell.inc 12include disable-shell.inc
13include disable-xdg.inc 13include disable-xdg.inc
14 14
15whitelist /usr/share/games/geki3
15include whitelist-run-common.inc 16include whitelist-run-common.inc
16include whitelist-runuser-common.inc 17include whitelist-runuser-common.inc
17whitelist /usr/share/games/geki3
18include whitelist-usr-share-common.inc 18include whitelist-usr-share-common.inc
19writable-var # game scores stored under /var/games
20include whitelist-var-common.inc 19include whitelist-var-common.inc
21 20
22apparmor 21apparmor
@@ -39,8 +38,9 @@ disable-mnt
39private 38private
40private-bin geki3 39private-bin geki3
41private-dev 40private-dev
42private-etc @x11,@sound,@games 41private-etc @games,@sound,@x11
43private-tmp 42private-tmp
43writable-var # game scores are stored under /var/games
44 44
45dbus-user none 45dbus-user none
46dbus-system none 46dbus-system none
diff --git a/etc/profile-a-l/lbreakouthd.profile b/etc/profile-a-l/lbreakouthd.profile
index 095a3839c..e454772fc 100644
--- a/etc/profile-a-l/lbreakouthd.profile
+++ b/etc/profile-a-l/lbreakouthd.profile
@@ -18,16 +18,14 @@ include disable-xdg.inc
18 18
19mkdir ${HOME}/.lbreakouthd 19mkdir ${HOME}/.lbreakouthd
20whitelist ${HOME}/.lbreakouthd 20whitelist ${HOME}/.lbreakouthd
21include whitelist-common.inc 21whitelist ${RUNUSER}/pulse
22
23whitelist /run/udev/control
24whitelist /run/host/container-manager 22whitelist /run/host/container-manager
23whitelist /run/udev/control
24whitelist /usr/share/games/lbreakouthd
25include whitelist-common.inc
25include whitelist-run-common.inc 26include whitelist-run-common.inc
26whitelist ${RUNUSER}/pulse
27include whitelist-runuser-common.inc 27include whitelist-runuser-common.inc
28whitelist /usr/share/games/lbreakouthd
29include whitelist-usr-share-common.inc 28include whitelist-usr-share-common.inc
30writable-var # game scores stored under /var/games
31include whitelist-var-common.inc 29include whitelist-var-common.inc
32 30
33apparmor 31apparmor
@@ -49,8 +47,9 @@ tracelog
49disable-mnt 47disable-mnt
50private-bin lbreakouthd 48private-bin lbreakouthd
51private-dev 49private-dev
52private-etc @x11,@sound,@games 50private-etc @games,@sound,@x11
53private-tmp 51private-tmp
52writable-var # game scores are stored under /var/games
54 53
55dbus-user none 54dbus-user none
56dbus-system none 55dbus-system none
diff --git a/etc/profile-m-z/tuxtype.profile b/etc/profile-m-z/tuxtype.profile
index 51e514529..12b58850a 100644
--- a/etc/profile-m-z/tuxtype.profile
+++ b/etc/profile-m-z/tuxtype.profile
@@ -16,15 +16,12 @@ include disable-xdg.inc
16 16
17mkdir ${HOME}/.tuxtype 17mkdir ${HOME}/.tuxtype
18whitelist ${HOME}/.tuxtype 18whitelist ${HOME}/.tuxtype
19whitelist ${RUNUSER}/pulse
20whitelist /usr/share/tuxtype
19include whitelist-common.inc 21include whitelist-common.inc
20
21
22include whitelist-run-common.inc 22include whitelist-run-common.inc
23whitelist ${RUNUSER}/pulse
24include whitelist-runuser-common.inc 23include whitelist-runuser-common.inc
25whitelist /usr/share/tuxtype
26include whitelist-usr-share-common.inc 24include whitelist-usr-share-common.inc
27writable-var # game scores stored under /var/games
28include whitelist-var-common.inc 25include whitelist-var-common.inc
29 26
30apparmor 27apparmor
@@ -46,8 +43,9 @@ tracelog
46disable-mnt 43disable-mnt
47private-bin tuxtype 44private-bin tuxtype
48private-dev 45private-dev
49private-etc @x11,@sound,@games,tuxtype 46private-etc @games,@sound,@x11,tuxtype
50private-tmp 47private-tmp
48writable-var # game scores are stored under /var/games
51 49
52dbus-user none 50dbus-user none
53dbus-system none 51dbus-system none
diff --git a/etc/profile-m-z/typespeed.profile b/etc/profile-m-z/typespeed.profile
index 08263ccb0..b98777665 100644
--- a/etc/profile-m-z/typespeed.profile
+++ b/etc/profile-m-z/typespeed.profile
@@ -4,7 +4,8 @@ include typespeed.local
4# Persistent global definitions 4# Persistent global definitions
5include globals.local 5include globals.local
6 6
7# Note: this profile requires the current user to be a member of games group 7# Note: This profile requires the current user to be a member of the games
8# group.
8 9
9include disable-common.inc 10include disable-common.inc
10include disable-devel.inc 11include disable-devel.inc
@@ -13,11 +14,10 @@ include disable-interpreters.inc
13include disable-programs.inc 14include disable-programs.inc
14include disable-xdg.inc 15include disable-xdg.inc
15 16
17whitelist /usr/share/typespeed
16include whitelist-run-common.inc 18include whitelist-run-common.inc
17include whitelist-runuser-common.inc 19include whitelist-runuser-common.inc
18whitelist /usr/share/typespeed
19include whitelist-usr-share-common.inc 20include whitelist-usr-share-common.inc
20writable-var # game scores stored under /var/games
21include whitelist-var-common.inc 21include whitelist-var-common.inc
22 22
23apparmor 23apparmor
@@ -38,8 +38,9 @@ tracelog
38disable-mnt 38disable-mnt
39private 39private
40private-dev 40private-dev
41private-etc @x11,@sound,@games 41private-etc @games,@sound,@x11
42private-tmp 42private-tmp
43writable-var # game scores are stored under /var/games
43 44
44dbus-user none 45dbus-user none
45dbus-system none 46dbus-system none