feat(profile): use @{int} on systemd/inhibit.

This commit is contained in:
Alexandre Pujol 2024-09-05 14:23:16 +01:00
parent 4e17001ce2
commit 6b191d9ada
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
38 changed files with 38 additions and 38 deletions

View file

@ -28,7 +28,7 @@ profile fprintd @{exec_path} flags=(attach_disconnected) {
/var/lib/fprint/{,**} rw,
@{run}/systemd/journal/socket rw,
@{run}/systemd/inhibit/*.ref w,
@{run}/systemd/inhibit/@{int}.ref rw,
@{run}/udev/data/c@{dynamic}:@{int} r, # For dynamic assignment range 234 to 254, 384 to 511
@{sys}/class/hidraw/ r,

View file

@ -98,7 +98,7 @@ profile fwupd @{exec_path} flags=(complain,attach_disconnected) {
@{run}/motd.d/@{int}-fwupd* rw,
@{run}/motd.d/fwupd/{,**} rw,
@{run}/mount/utab r,
@{run}/systemd/inhibit/[0-9]*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
@{run}/udev/data/* r,
@{PROC}/@{pids}/fd/ r,