Skip to content

Commit

Permalink
profiles: fix new game profiles
Browse files Browse the repository at this point in the history
Fix sorting and improve comments.

See etc/templates/profile.template.

This amends commit 4c5f558 ("several kids programs", 2024-04-29).
  • Loading branch information
kmk3 committed Apr 29, 2024
1 parent 4c5f558 commit 6ff97d0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 29 deletions.
12 changes: 6 additions & 6 deletions etc/profile-a-l/alienblaster.profile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ include disable-interpreters.inc
include disable-programs.inc
include disable-xdg.inc

mkfile ${HOME}/.alienblaster_highscore
whitelist ${HOME}/.alienblaster_highscore
mkdir ${HOME}/.alienblaster
mkfile ${HOME}/.alienblaster_highscore
whitelist ${HOME}/.alienblaster
include whitelist-common.inc
include whitelist-run-common.inc
whitelist ${HOME}/.alienblaster_highscore
whitelist ${RUNUSER}/pulse
include whitelist-runuser-common.inc
whitelist /usr/share/games/alienblaster
whitelist /usr/share/timidity
include whitelist-common.inc
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

Expand All @@ -45,7 +45,7 @@ tracelog

disable-mnt
private-dev
private-etc @x11,@sound,@games
private-etc @games,@sound,@x11
private-tmp

dbus-user none
Expand Down
6 changes: 3 additions & 3 deletions etc/profile-a-l/geki2.profile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

whitelist /usr/share/games/geki2
include whitelist-run-common.inc
include whitelist-runuser-common.inc
whitelist /usr/share/games/geki2
include whitelist-usr-share-common.inc
writable-var # game scores stored under /var/games
include whitelist-var-common.inc

apparmor
Expand All @@ -39,8 +38,9 @@ disable-mnt
private
private-bin geki2
private-dev
private-etc @x11,@sound,@games
private-etc @games,@sound,@x11
private-tmp
writable-var # game scores are stored under /var/games

dbus-user none
dbus-system none
Expand Down
6 changes: 3 additions & 3 deletions etc/profile-a-l/geki3.profile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

whitelist /usr/share/games/geki3
include whitelist-run-common.inc
include whitelist-runuser-common.inc
whitelist /usr/share/games/geki3
include whitelist-usr-share-common.inc
writable-var # game scores stored under /var/games
include whitelist-var-common.inc

apparmor
Expand All @@ -39,8 +38,9 @@ disable-mnt
private
private-bin geki3
private-dev
private-etc @x11,@sound,@games
private-etc @games,@sound,@x11
private-tmp
writable-var # game scores are stored under /var/games

dbus-user none
dbus-system none
Expand Down
13 changes: 6 additions & 7 deletions etc/profile-a-l/lbreakouthd.profile
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ include disable-xdg.inc

mkdir ${HOME}/.lbreakouthd
whitelist ${HOME}/.lbreakouthd
include whitelist-common.inc

whitelist /run/udev/control
whitelist ${RUNUSER}/pulse
whitelist /run/host/container-manager
whitelist /run/udev/control
whitelist /usr/share/games/lbreakouthd
include whitelist-common.inc
include whitelist-run-common.inc
whitelist ${RUNUSER}/pulse
include whitelist-runuser-common.inc
whitelist /usr/share/games/lbreakouthd
include whitelist-usr-share-common.inc
writable-var # game scores stored under /var/games
include whitelist-var-common.inc

apparmor
Expand All @@ -49,8 +47,9 @@ tracelog
disable-mnt
private-bin lbreakouthd
private-dev
private-etc @x11,@sound,@games
private-etc @games,@sound,@x11
private-tmp
writable-var # game scores are stored under /var/games

dbus-user none
dbus-system none
Expand Down
10 changes: 4 additions & 6 deletions etc/profile-m-z/tuxtype.profile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ include disable-xdg.inc

mkdir ${HOME}/.tuxtype
whitelist ${HOME}/.tuxtype
whitelist ${RUNUSER}/pulse
whitelist /usr/share/tuxtype
include whitelist-common.inc


include whitelist-run-common.inc
whitelist ${RUNUSER}/pulse
include whitelist-runuser-common.inc
whitelist /usr/share/tuxtype
include whitelist-usr-share-common.inc
writable-var # game scores stored under /var/games
include whitelist-var-common.inc

apparmor
Expand All @@ -46,8 +43,9 @@ tracelog
disable-mnt
private-bin tuxtype
private-dev
private-etc @x11,@sound,@games,tuxtype
private-etc @games,@sound,@x11,tuxtype
private-tmp
writable-var # game scores are stored under /var/games

dbus-user none
dbus-system none
Expand Down
9 changes: 5 additions & 4 deletions etc/profile-m-z/typespeed.profile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ include typespeed.local
# Persistent global definitions
include globals.local

# Note: this profile requires the current user to be a member of games group
# Note: This profile requires the current user to be a member of the games
# group.

include disable-common.inc
include disable-devel.inc
Expand All @@ -13,11 +14,10 @@ include disable-interpreters.inc
include disable-programs.inc
include disable-xdg.inc

whitelist /usr/share/typespeed
include whitelist-run-common.inc
include whitelist-runuser-common.inc
whitelist /usr/share/typespeed
include whitelist-usr-share-common.inc
writable-var # game scores stored under /var/games
include whitelist-var-common.inc

apparmor
Expand All @@ -38,8 +38,9 @@ tracelog
disable-mnt
private
private-dev
private-etc @x11,@sound,@games
private-etc @games,@sound,@x11
private-tmp
writable-var # game scores are stored under /var/games

dbus-user none
dbus-system none
Expand Down

0 comments on commit 6ff97d0

Please sign in to comment.