mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
feat(profiles): add notify-reboot-required.
This commit is contained in:
parent
6c89ee8630
commit
72a042e6ef
1 changed files with 23 additions and 0 deletions
23
apparmor.d/groups/ubuntu/notify-reboot-required
Normal file
23
apparmor.d/groups/ubuntu/notify-reboot-required
Normal 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>
|
||||
}
|
Loading…
Reference in a new issue