/run -> @{run}, [0-9]* -> @{uid}.

This commit is contained in:
Alexandre Pujol 2021-10-07 14:52:41 +01:00
parent 9c8c2144b8
commit 2fc138a4d7
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
15 changed files with 35 additions and 35 deletions

View file

@ -43,9 +43,9 @@
/sys/bus/usb/devices/ r,
/sys/devices/**/usb[0-9]*/** r,
# libusb needs udev data about usb devices (~equal to content of lsusb -v)
/run/udev/data/+usb* r,
/run/udev/data/c16[6,7]* r,
/run/udev/data/c18[0,8,9]* r,
@{run}/udev/data/+usb* r,
@{run}/udev/data/c16[6,7]* r,
@{run}/udev/data/c18[0,8,9]* r,
# WARNING: this gives the guest direct access to host hardware and specific
# portions of shared memory. This is required for sound using ALSA with kvm,
@ -233,7 +233,7 @@
# silence refusals to open lttng files (see LP: #1432644)
deny /dev/shm/lttng-ust-wait-* r,
deny /run/shm/lttng-ust-wait-* r,
deny @{run}/shm/lttng-ust-wait-* r,
# for vfio hotplug on systems without static vfio (LP: #1775777)
/dev/vfio/vfio rw,

View file

@ -82,7 +82,7 @@
/{,var/}run/shm/** wl,
/{,var/}run/uuidd/request w,
# libpam-xdg-support/logind
owner /{,var/}run/user/*/** rw,
owner /{,var/}run/user/@{uid}/** rw,
capability ipc_lock,

View file

@ -46,9 +46,9 @@
owner @{PROC}/@{pid}/{mountinfo,status} r,
/run/udev/data/c* r,
/run/udev/data/+drm:card* r,
/run/udev/data/+usb* r,
@{run}/udev/data/c* r,
@{run}/udev/data/+drm:card* r,
@{run}/udev/data/+usb* r,
/sys/devices/system/node/*/meminfo r,