feat(profiles): replace old [0-9]* glob by @{int}

Beware some [0-9]* glob are actually not proper @{int}.
This commit is contained in:
Alexandre Pujol 2023-08-18 17:09:53 +01:00
parent 8ea4491a56
commit 275d6b6e62
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
368 changed files with 637 additions and 636 deletions

View file

@ -98,7 +98,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
@{run}/systemd/sessions/*.ref rw,
owner @{run}/sshd{,.init}.pid wl,
@{sys}/fs/cgroup/*/user/*/[0-9]*/ rw,
@{sys}/fs/cgroup/*/user/*/@{int}/ rw,
@{sys}/fs/cgroup/systemd/user.slice/user-@{uid}.slice/session-*.scope/ rw,
@{PROC}/@{pids}/fd/ r,
@ -113,7 +113,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pid}/uid_map r,
/dev/ptmx rw,
/dev/tty[0-9]* rw,
/dev/tty@{int} rw,
/dev/ttyS[0-9]* rw,
include if exists <local/sshd>