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

@ -24,7 +24,7 @@ profile mission-control @{exec_path} flags=(attach_disconnected) {
owner @{user_config_dirs}/libaccounts-glib/accounts.db{,-shm,-wal} rwk,
@{run}/systemd/inhibit/[0-9]*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
include if exists <local/mission-control>
}

View file

@ -23,7 +23,7 @@ profile nvtop @{exec_path} flags=(attach_disconnected) {
owner @{user_config_dirs}/nvtop/{,**} rw,
@{run}/systemd/inhibit/*.ref r,
@{run}/systemd/inhibit/@{int}.ref rw,
@{run}/udev/data/+drm:card@{int}-* r, # for screen outputs
@{run}/udev/data/+pci:* r, # Identifies all PCI devices (CPU, GPU, Network, Disks, USB, etc.)
@{run}/udev/data/c226:@{int} r, # For /dev/dri/card*

View file

@ -93,7 +93,7 @@ profile packagekitd @{exec_path} flags=(attach_disconnected) {
owner @{tmp}/apt-changelog-@{rand6}/.apt-acquire-privs-test.@{rand6} rw,
owner @{tmp}/packagekit* rw,
@{run}/systemd/inhibit/*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
owner @{run}/systemd/users/@{uid} r,
#aa:only opensuse

View file

@ -59,7 +59,7 @@ profile psi @{exec_path} {
owner @{tmp}/etilqs_@{hex16} rw,
owner @{tmp}/Psi.* rwl -> /tmp/#@{int},
@{run}/systemd/inhibit/[0-9]*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/mountinfo r,

View file

@ -59,7 +59,7 @@ profile psi-plus @{exec_path} {
owner @{tmp}/etilqs_@{hex16} rw,
owner @{tmp}/Psi+.* rwl -> /tmp/#@{int},
@{run}/systemd/inhibit/[0-9]*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/mountinfo r,