fix: add missing systemd-notify profile.

This commit is contained in:
Alexandre Pujol 2024-04-13 12:21:47 +01:00
parent 8b68132f0e
commit 4c6122598e
Failed to generate hash of commit

View 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>
}