feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-07-20 21:07:27 +01:00
parent a3d121fe23
commit af1eda51bd
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
27 changed files with 107 additions and 94 deletions

View file

@ -27,15 +27,14 @@ profile systemd-backlight @{exec_path} {
@{sys}/class/ r,
@{sys}/class/backlight/ r,
@{sys}/devices/pci[0-9]*/*:[0-9]*.[0-9]*/**/ r,
@{sys}/devices/pci[0-9]*/**/backlight/**/{max_brightness,actual_brightness} r,
@{sys}/devices/pci[0-9]*/**/backlight/**/{uevent,type} r,
@{sys}/devices/pci[0-9]*/**/backlight/**/brightness rw,
@{sys}/devices/pci[0-9]*/**/class r,
@{sys}/devices/pci[0-9]*/**/drm/**/ r,
@{sys}/devices/pci[0-9]*/**/drm/card[0-9]*/**/{max_brightness,actual_brightness} r,
@{sys}/devices/pci[0-9]*/**/drm/card[0-9]*/**/{uevent,type} r,
@{sys}/devices/pci[0-9]*/**/drm/card[0-9]*/**/brightness rw,
@{sys}/devices/pci[0-9]*/**/i2c-[0-9]*/ r,
@{sys}/devices/pci[0-9]*/**/uevent r,
@{sys}/devices/platform/**/leds/*backlight*/brightness rw,

View file

@ -46,6 +46,8 @@ profile systemd-tmpfiles @{exec_path} flags=(attach_disconnected) {
/tmp/{,**} rwk,
/usr/{,**} rw,
/var/{,**} rwk,
@{sys}/kernel/security/ r,
@{sys}/kernel/security/{,**} rw,
@{sys}/devices/system/cpu/microcode/reload w,