feat(kde): add kauth helper.

This commit is contained in:
Alexandre Pujol 2023-04-05 23:51:27 +01:00
parent 1a09d74df3
commit 4f22a6ebaa
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 88 additions and 5 deletions

View file

@ -0,0 +1,24 @@
# 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>
capability net_admin,
@{exec_path} mr,
@{sys}/class/backlight/ r,
@{sys}/class/leds/ r,
/dev/tty r,
include if exists <local/kauth-backlighthelper>
}