diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-04-29 16:45:57 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-04-29 17:06:23 -0300 |
commit | 6ff97d00094052c9c9c2ca57b5e96645b3f93230 (patch) | |
tree | ceac8428df86f12319952368fe1ee933135a4b2b /etc/profile-m-z | |
parent | several kids programs (diff) | |
download | firejail-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/profile-m-z')
-rw-r--r-- | etc/profile-m-z/tuxtype.profile | 10 | ||||
-rw-r--r-- | etc/profile-m-z/typespeed.profile | 9 |
2 files changed, 9 insertions, 10 deletions
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 | ||
17 | mkdir ${HOME}/.tuxtype | 17 | mkdir ${HOME}/.tuxtype |
18 | whitelist ${HOME}/.tuxtype | 18 | whitelist ${HOME}/.tuxtype |
19 | whitelist ${RUNUSER}/pulse | ||
20 | whitelist /usr/share/tuxtype | ||
19 | include whitelist-common.inc | 21 | include whitelist-common.inc |
20 | |||
21 | |||
22 | include whitelist-run-common.inc | 22 | include whitelist-run-common.inc |
23 | whitelist ${RUNUSER}/pulse | ||
24 | include whitelist-runuser-common.inc | 23 | include whitelist-runuser-common.inc |
25 | whitelist /usr/share/tuxtype | ||
26 | include whitelist-usr-share-common.inc | 24 | include whitelist-usr-share-common.inc |
27 | writable-var # game scores stored under /var/games | ||
28 | include whitelist-var-common.inc | 25 | include whitelist-var-common.inc |
29 | 26 | ||
30 | apparmor | 27 | apparmor |
@@ -46,8 +43,9 @@ tracelog | |||
46 | disable-mnt | 43 | disable-mnt |
47 | private-bin tuxtype | 44 | private-bin tuxtype |
48 | private-dev | 45 | private-dev |
49 | private-etc @x11,@sound,@games,tuxtype | 46 | private-etc @games,@sound,@x11,tuxtype |
50 | private-tmp | 47 | private-tmp |
48 | writable-var # game scores are stored under /var/games | ||
51 | 49 | ||
52 | dbus-user none | 50 | dbus-user none |
53 | dbus-system none | 51 | dbus-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 |
5 | include globals.local | 5 | include 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 | ||
9 | include disable-common.inc | 10 | include disable-common.inc |
10 | include disable-devel.inc | 11 | include disable-devel.inc |
@@ -13,11 +14,10 @@ include disable-interpreters.inc | |||
13 | include disable-programs.inc | 14 | include disable-programs.inc |
14 | include disable-xdg.inc | 15 | include disable-xdg.inc |
15 | 16 | ||
17 | whitelist /usr/share/typespeed | ||
16 | include whitelist-run-common.inc | 18 | include whitelist-run-common.inc |
17 | include whitelist-runuser-common.inc | 19 | include whitelist-runuser-common.inc |
18 | whitelist /usr/share/typespeed | ||
19 | include whitelist-usr-share-common.inc | 20 | include whitelist-usr-share-common.inc |
20 | writable-var # game scores stored under /var/games | ||
21 | include whitelist-var-common.inc | 21 | include whitelist-var-common.inc |
22 | 22 | ||
23 | apparmor | 23 | apparmor |
@@ -38,8 +38,9 @@ tracelog | |||
38 | disable-mnt | 38 | disable-mnt |
39 | private | 39 | private |
40 | private-dev | 40 | private-dev |
41 | private-etc @x11,@sound,@games | 41 | private-etc @games,@sound,@x11 |
42 | private-tmp | 42 | private-tmp |
43 | writable-var # game scores are stored under /var/games | ||
43 | 44 | ||
44 | dbus-user none | 45 | dbus-user none |
45 | dbus-system none | 46 | dbus-system none |