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

@ -57,7 +57,7 @@ profile sudo @{exec_path} {
@{bin}/{c,k,tc,z}sh rUx,
@{lib}/cockpit/cockpit-askpass rPx,
@{lib}/molly-guard/molly-guard rPx,
/snap/snapd/[0-9]*/usr/bin/snap rPx,
/snap/snapd/@{int}/usr/bin/snap rPx,
@{etc_ro}/environment r,
@{etc_ro}/security/limits.d/{,*} r,
@ -95,7 +95,7 @@ profile sudo @{exec_path} {
/dev/ r, # interactive login
/dev/ptmx rw,
owner /dev/tty[0-9]* rw,
owner /dev/tty@{int} rw,
deny @{user_share_dirs}/gvfs-metadata/* r,