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

@ -34,7 +34,7 @@ profile ModemManager @{exec_path} flags=(attach_disconnected) {
@{run}/udev/data/c5:@{int} r, # for /dev/tty, /dev/console, /dev/ptmx
@{run}/udev/data/n@{int} r,
@{run}/systemd/inhibit/*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
@{sys}/bus/ r,
@{sys}/bus/usb/devices/ r,

View file

@ -122,7 +122,7 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
@{run}/NetworkManager/{,**} rw,
@{run}/nm-*.pid rw,
@{run}/nscd/db* rwl,
@{run}/systemd/inhibit/[0-9]*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
@{run}/systemd/users/@{uid} r,
@{run}/udev/data/+pci:* r, # Identifies all PCI devices (CPU, GPU, Network, Disks, USB, etc.)
@{run}/udev/data/+platform:* r,

View file

@ -32,7 +32,7 @@ profile mullvad-gui @{exec_path} flags=(attach_disconnected) {
owner @{tmp}/.org.chromium.Chromium.@{rand6}/@{name}*.png rw,
@{run}/systemd/inhibit/*.ref rw,
@{run}/systemd/inhibit/@{int}.ref rw,
/dev/tty rw,