From f4505dd97d93ffd2a436d5c933f268131f70d8db Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 8 Dec 2023 18:07:07 +0000 Subject: [PATCH] feat(dbus): add new dbus abstraction. --- .../bus/org.freedesktop.background.Monitor | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apparmor.d/abstractions/bus/org.freedesktop.background.Monitor diff --git a/apparmor.d/abstractions/bus/org.freedesktop.background.Monitor b/apparmor.d/abstractions/bus/org.freedesktop.background.Monitor new file mode 100644 index 00000000..123140bb --- /dev/null +++ b/apparmor.d/abstractions/bus/org.freedesktop.background.Monitor @@ -0,0 +1,15 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2023 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + + dbus send bus=session path=/org/freedesktop/background/monitor + interface=org.freedesktop.DBus.Properties + member=GetAll + peer=(name=:*, label=xdg-desktop-portal), + + dbus receive bus=session path=/org/freedesktop/background/monitor + interface=org.freedesktop.DBus.Properties + member=PropertiesChanged + peer=(name=:*, label=xdg-desktop-portal), + + include if exists