feat(profile): use @{int} on systemd/inhibit.
This commit is contained in:
parent
4e17001ce2
commit
6b191d9ada
38 changed files with 38 additions and 38 deletions
|
|
@ -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>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue