apparmor.d/apparmor.d/groups/kde/kauth-chargethresholdhelper
2024-02-11 12:45:35 +00:00

23 lines
No EOL
612 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/kauth/{,libexec/}chargethresholdhelper
profile kauth-chargethresholdhelper @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
/usr/share/icu/@{int}.@{int}/*.dat r,
@{sys}/class/power_supply/ r,
@{sys}/devices/@{pci}/power_supply/** r,
@{sys}/devices/**/power_supply/** r,
include if exists <local/kauth-chargethresholdhelper>
}