From 4920922394b515f271e798826dbc0b8733e1017b Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 13 Sep 2022 18:39:41 +0100 Subject: [PATCH] feat(profiles): add busctl. --- apparmor.d/groups/systemd/busctl | 16 ++++++++++++++++ dists/flags/main.flags | 1 + 2 files changed, 17 insertions(+) create mode 100644 apparmor.d/groups/systemd/busctl diff --git a/apparmor.d/groups/systemd/busctl b/apparmor.d/groups/systemd/busctl new file mode 100644 index 00000000..e7841b7d --- /dev/null +++ b/apparmor.d/groups/systemd/busctl @@ -0,0 +1,16 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/busctl +profile busctl @{exec_path} { + include + + @{exec_path} mr, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index d64674c0..68d66e12 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -14,6 +14,7 @@ avahi-daemon complain avahi-publish complain avahi-resolve complain avahi-set-host-name complain +busctl complain cfdisk complain cgdisk complain cockpit-askpass complain