apparmor.d/apparmor.d/groups/systemd/systemd-update-utmp
2022-03-26 20:43:47 +00:00

25 lines
No EOL
567 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/systemd/systemd-update-utmp
profile systemd-update-utmp @{exec_path} {
include <abstractions/base>
include <abstractions/systemd-common>
include <abstractions/wutmp>
capability audit_write,
capability net_admin,
network netlink raw,
@{exec_path} mr,
@{run}/host/container-manager r,
include if exists <local/systemd-update-utmp>
}