fix(profile): missing documented udev/data

This commit is contained in:
Alexandre Pujol 2025-08-11 22:27:08 +02:00
parent 969c989aed
commit f35b64bcae
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
4 changed files with 8 additions and 4 deletions

View file

@ -11,7 +11,8 @@
/etc/udev/udev.conf r, /etc/udev/udev.conf r,
@{run}/udev/data/* r, @{run}/udev/data/+*:* r, # Identifies all subsystems
@{run}/udev/data/c@{int}:@{int} r, # Identifies all character devices
@{sys}/** r, @{sys}/** r,

View file

@ -187,7 +187,8 @@ profile sd flags=(attach_disconnected,mediate_deleted,complain) {
owner @{run}/*/** rw, owner @{run}/*/** rw,
@{run}/udev/**/ r, @{run}/udev/**/ r,
@{run}/udev/data/* r, @{run}/udev/data/+*:* r, # Identifies all subsystems
@{run}/udev/data/c@{int}:@{int} r, # Identifies all character devices
@{sys}/** r, @{sys}/** r,
@{sys}/fs/bpf/systemd/{,**} w, @{sys}/fs/bpf/systemd/{,**} w,

View file

@ -47,7 +47,8 @@ profile systemd-analyze @{exec_path} {
@{run}/systemd/system/ r, @{run}/systemd/system/ r,
@{run}/systemd/transient/ r, @{run}/systemd/transient/ r,
@{run}/systemd/userdb/io.systemd.DynamicUser w, @{run}/systemd/userdb/io.systemd.DynamicUser w,
@{run}/udev/data/* r, @{run}/udev/data/+*:* r, # Identifies all subsystems
@{run}/udev/data/c@{int}:@{int} r, # Identifies all character devices
@{run}/udev/tags/systemd/ r, @{run}/udev/tags/systemd/ r,
@{sys}/devices/**/uevent r, @{sys}/devices/**/uevent r,

View file

@ -28,7 +28,8 @@ profile ddcutil @{exec_path} {
owner @{user_cache_dirs}/ddcutil/ rw, owner @{user_cache_dirs}/ddcutil/ rw,
owner @{user_cache_dirs}/ddcutil/** rwlk, owner @{user_cache_dirs}/ddcutil/** rwlk,
@{run}/udev/data/* r, @{run}/udev/data/+*:* r, # Identifies all subsystems
@{run}/udev/data/c@{int}:@{int} r, # Identifies all character devices
@{sys}/ r, @{sys}/ r,
@{sys}/bus/ r, @{sys}/bus/ r,