mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-31 07:17:22 +01:00
fix: add missing systemd-notify profile.
This commit is contained in:
parent
8b68132f0e
commit
4c6122598e
1 changed files with 19 additions and 0 deletions
19
apparmor.d/groups/systemd/systemd-notify
Normal file
19
apparmor.d/groups/systemd/systemd-notify
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = @{bin}/systemd-notify
|
||||||
|
profile systemd-notify @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
capability sys_admin,
|
||||||
|
capability net_admin,
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
include if exists <local/systemd-notify>
|
||||||
|
}
|
Loading…
Reference in a new issue