apparmor.d/apparmor.d/groups/ubuntu/update-notifier-crash
2025-05-29 23:29:52 +02:00

29 lines
665 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{lib}/update-notifier/update-notifier-crash
profile update-notifier-crash @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
@{bin}/systemctl Cx -> systemctl,
/usr/share/apport/apport-checkreports Px,
profile systemctl {
include <abstractions/base>
include <abstractions/app/systemctl>
include if exists <local/update-notifier-crash_systemctl>
}
include if exists <local/update-notifier-crash>
}
# vim:syntax=apparmor