feat(abs): add the initial version of the systemctl abstraction.

This commit is contained in:
Alexandre Pujol 2024-03-03 12:03:16 +00:00
parent 7e8f854b16
commit af0c87f712
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -0,0 +1,18 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
include <abstractions/consoles>
ptrace (read) peer=@{systemd},
unix (bind) type=stream addr=@@{hex}/bus/systemctl/,
@{bin}/systemctl mr,
owner @{run}/systemd/private rw,
@{PROC}/cmdline r,
@{PROC}/sys/kernel/osrelease r,
include if exists <abstractions/systemctl.d>