feat(profiles): add notify-reboot-required.

This commit is contained in:
Alexandre Pujol 2022-06-26 23:06:42 +01:00
parent 6c89ee8630
commit 72a042e6ef
Failed to generate hash of commit

View file

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/update-notifier/notify-reboot-required
profile notify-reboot-required @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
/{usr/,}bin/gettext rix,
/usr/share/update-notifier/notify-reboot-required r,
@{run}/reboot-required rw,
@{run}/reboot-required.pkgs rw,
include if exists <local/notify-reboot-required>
}