# apparmor.d - Full set of apparmor profiles # Copyright (C) 2023-2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{lib}/{,kf6/}kauth/{,libexec/}backlighthelper profile kauth-backlighthelper @{exec_path} { include include include include include capability net_admin, @{exec_path} mr, /usr/share/icu/@{int}.@{int}/*.dat r, @{sys}/class/backlight/ r, @{sys}/class/leds/ r, @{sys}/devices/@{pci}/*_backlight/{,max_,actual_}brightness rw, @{sys}/devices/@{pci}/*_backlight/{uevent,type,enabled} r, @{sys}/devices/@{pci}/backlight/**/{,max_,actual_}brightness rw, @{sys}/devices/@{pci}/backlight/**/{uevent,type,enabled} r, @{sys}/devices/@{pci}/backlight/**/brightness rw, @{sys}/devices/@{pci}/drm/card@{int}/**/{,max_,actual_}brightness rw, @{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type,enabled} r, @{sys}/devices/@{pci}/drm/card@{int}/**/brightness rw, /dev/tty r, include if exists } # vim:syntax=apparmor