Use @{uid} instead of [0-9]* when it denotes the user id.

This commit is contained in:
Alexandre Pujol 2021-04-18 19:00:15 +01:00
parent cd4ad5b09c
commit 4a35b7d804
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
137 changed files with 253 additions and 253 deletions

View file

@ -55,8 +55,8 @@ profile mumble @{exec_path} {
/dev/shm/MumbleLink.[0-9]*[0-9] rw,
/dev/shm/#[0-9]*[0-9] rw,
owner @{run}/user/[0-9]*/MumbleSocket rw,
owner @{run}/user/[0-9]*/MumbleOverlayPipe rw,
owner @{run}/user/@{uid}/MumbleSocket rw,
owner @{run}/user/@{uid}/MumbleOverlayPipe rw,
deny owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/fd/ r,
@ -91,7 +91,7 @@ profile mumble @{exec_path} {
owner @{HOME}/ r,
owner @{run}/user/[0-9]*/ r,
owner @{run}/user/@{uid}/ r,
# Allowed apps to open
/{usr/,}lib/firefox/firefox rPUx,