feat(profiles): modernize udev access.

This commit is contained in:
Alexandre Pujol 2023-08-24 19:31:54 +01:00
parent 73cb5a4545
commit 07cfbcd952
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
37 changed files with 234 additions and 229 deletions

View file

@ -187,9 +187,9 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
owner /dev/tty@{int} rw,
@{run}/udev/data/+sound:card[0-9]* r, # For sound
@{run}/udev/data/c13:[0-9]* r, # for /dev/input/*
@{run}/udev/data/c189:[0-9]* r, # For /dev/bus/usb/**
@{run}/udev/data/+sound:card@{int} r, # For sound
@{run}/udev/data/c13:@{int} r, # for /dev/input/*
@{run}/udev/data/c189:@{int} r, # For /dev/bus/usb/**
@{sys}/devices/**/usb[0-9]/{,**} r,
@{sys}/devices/pci[0-9]*/**/sound/**/uevent r,