feat(profile): use the new @{tmp} variable.

It is only used with the owner statement.
This commit is contained in:
Alexandre Pujol 2024-05-02 22:12:02 +01:00
parent 0bbbe71422
commit 3f69b9fec4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
257 changed files with 668 additions and 685 deletions

View file

@ -38,7 +38,7 @@ profile thunar @{exec_path} {
@{MOUNTS}/** rw,
owner @{HOME}/{,**} rw,
owner @{run}/user/@{uid}/{,**} rw,
owner /tmp/{,**} rw,
owner @{tmp}/{,**} rw,
# Silence non user's data
deny /boot/{,**} r,

View file

@ -45,8 +45,7 @@ profile xfce-session @{exec_path} {
/etc/xdg/autostart/ r,
/etc/xdg/autostart/*.desktop r,
owner /tmp/.xfsm-ICE-@{rand6} rw,
owner /tmp/user/@{uid}/.xfsm-ICE-@{rand6} rw,
owner @{tmp}/.xfsm-ICE-@{rand6} rw,
owner @{PROC}/@{pid}/stat r,

View file

@ -36,7 +36,7 @@ profile xfce-terminal @{exec_path} {
owner @{user_config_dirs}/xfce4/terminal/{,**} r,
owner /tmp/user/@{uid}/#@{int} rw,
owner @{tmp}/#@{int} rw,
@{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/mountinfo r,