feat(kde): add kauth helper.
This commit is contained in:
parent
1a09d74df3
commit
4f22a6ebaa
7 changed files with 88 additions and 5 deletions
24
apparmor.d/groups/kde/kauth-backlighthelper
Normal file
24
apparmor.d/groups/kde/kauth-backlighthelper
Normal 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>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue