From 23fa2b36ab49a5a44e2585b42a9b5a5a4f5e82df Mon Sep 17 00:00:00 2001 From: Jeroen Rijken Date: Thu, 22 Feb 2024 15:11:18 +0100 Subject: [PATCH] Remove curly brackets Signed-off-by: Jeroen Rijken --- apparmor.d/profiles-a-f/bluetoothd | 34 ++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/apparmor.d/profiles-a-f/bluetoothd b/apparmor.d/profiles-a-f/bluetoothd index 683316f1..b9938d46 100644 --- a/apparmor.d/profiles-a-f/bluetoothd +++ b/apparmor.d/profiles-a-f/bluetoothd @@ -28,7 +28,22 @@ profile bluetoothd @{exec_path} flags=(attach_disconnected) { dbus receive bus=system path=/ interface=org.freedesktop.DBus.ObjectManager member=GetManagedObjects - peer=(name=:*, label={brave,NetworkManager,pulseaudio,upowerd}), + peer=(name=:*, label=brave), + + dbus receive bus=system path=/ + interface=org.freedesktop.DBus.ObjectManager + member=GetManagedObjects + peer=(name=:*, label=NetworkManager), + + dbus receive bus=system path=/ + interface=org.freedesktop.DBus.ObjectManager + member=GetManagedObjects + peer=(name=:*, label=pulseaudio), + + dbus receive bus=system path=/ + interface=org.freedesktop.DBus.ObjectManager + member=GetManagedObjects + peer=(name=:*, label=upowerd), dbus send bus=system path=/MediaEndpoint interface=org.freedesktop.DBus.ObjectManager @@ -48,7 +63,22 @@ profile bluetoothd @{exec_path} flags=(attach_disconnected) { dbus send bus=system path=/ interface=org.freedesktop.DBus.ObjectManager member=InterfacesRemoved - peer=(name=org.freedesktop.DBus, label={fwupd,NetworkManager,pulseaudio,upowerd}), + peer=(name=org.freedesktop.DBus, label=fwupd), + + dbus send bus=system path=/ + interface=org.freedesktop.DBus.ObjectManager + member=InterfacesRemoved + peer=(name=org.freedesktop.DBus, label=NetworkManager), + + dbus send bus=system path=/ + interface=org.freedesktop.DBus.ObjectManager + member=InterfacesRemoved + peer=(name=org.freedesktop.DBus, label=pulseaudio), + + dbus send bus=system path=/ + interface=org.freedesktop.DBus.ObjectManager + member=InterfacesRemoved + peer=(name=org.freedesktop.DBus, label=upowerd), @{exec_path} mr,