apparmor.d/apparmor.d/groups/kde/kauth-backlighthelper
2023-04-30 21:46:10 +01:00

27 lines
No EOL
590 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{libexec}/kauth/backlighthelper
profile kauth-backlighthelper @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/qt5>
capability net_admin,
@{exec_path} mr,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
@{sys}/class/backlight/ r,
@{sys}/class/leds/ r,
/dev/tty r,
include if exists <local/kauth-backlighthelper>
}