apparmor.d/apparmor.d/groups/freedesktop/upower
Alexandre Pujol b30d077992 feat(profile): improve support for some profiles.
Most of the rules have come from the integration tests.
2024-12-31 00:07:24 +00:00

23 lines
544 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2018-2021 Mikhail Morfikov
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/upower
profile upower @{exec_path} {
include <abstractions/base>
include <abstractions/bus-system>
include <abstractions/consoles>
#aa:dbus own bus=system name=org.freedesktop.UPower label=upowerd
@{exec_path} mr,
include if exists <local/upower>
}
# vim:syntax=apparmor