mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
parent
e8aa338d5e
commit
e17add7e63
2 changed files with 6 additions and 7 deletions
|
@ -49,11 +49,11 @@ profile upowerd @{exec_path} flags=(attach_disconnected) {
|
|||
@{sys}/class/sound/ r,
|
||||
@{sys}/devices/ r,
|
||||
@{sys}/devices/**/capabilities/* r,
|
||||
@{sys}/devices/**/leds/**/brightness rw,
|
||||
@{sys}/devices/**/leds/**/brightness_hw_changed r,
|
||||
@{sys}/devices/**/leds/**/max_brightness r,
|
||||
@{sys}/devices/**/power_supply/**/* r,
|
||||
@{sys}/devices/**/uevent r,
|
||||
@{sys}/devices/platform/**/leds/**/brightness rw,
|
||||
@{sys}/devices/platform/**/leds/**/brightness_hw_changed r,
|
||||
@{sys}/devices/platform/**/leds/**/max_brightness r,
|
||||
@{sys}/devices/virtual/dmi/id/product_name r,
|
||||
|
||||
/dev/input/event* r,
|
||||
|
|
|
@ -37,10 +37,9 @@ profile systemd-backlight @{exec_path} {
|
|||
@{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type} r,
|
||||
@{sys}/devices/@{pci}/drm/card@{int}/**/brightness rw,
|
||||
@{sys}/devices/@{pci}/uevent r,
|
||||
|
||||
@{sys}/devices/platform/**/leds/*backlight*/brightness rw,
|
||||
@{sys}/devices/platform/**/leds/*backlight*/max_brightness r,
|
||||
@{sys}/devices/platform/**/leds/*backlight*/uevent r,
|
||||
@{sys}/devices/**/leds/**/brightness rw,
|
||||
@{sys}/devices/**/leds/**/brightness_hw_changed r,
|
||||
@{sys}/devices/**/leds/**/max_brightness r,
|
||||
|
||||
include if exists <local/systemd-backlight>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue