From af4038867a5c6c754674bb0cd8d3eccd7c0f3aee Mon Sep 17 00:00:00 2001 From: Jeroen Rijken Date: Thu, 22 Feb 2024 15:08:57 +0100 Subject: [PATCH] Syntax fixes Signed-off-by: Jeroen Rijken --- apparmor.d/profiles-s-z/usbguard-daemon | 2 +- apparmor.d/profiles-s-z/usbguard-dbus | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apparmor.d/profiles-s-z/usbguard-daemon b/apparmor.d/profiles-s-z/usbguard-daemon index 520203a1..f831200e 100644 --- a/apparmor.d/profiles-s-z/usbguard-daemon +++ b/apparmor.d/profiles-s-z/usbguard-daemon @@ -20,7 +20,7 @@ profile usbguard-daemon @{exec_path} flags=(attach_disconnected) { network netlink dgram, unix (bind, listen) type=stream, - unix (bind, connect, listen) type=stream peer=(label=usbguard-dbus, addr=none), + unix (connect) type=stream peer=(label=usbguard-dbus, addr=none), @{exec_path} mr, diff --git a/apparmor.d/profiles-s-z/usbguard-dbus b/apparmor.d/profiles-s-z/usbguard-dbus index 12de9531..20cd6751 100644 --- a/apparmor.d/profiles-s-z/usbguard-dbus +++ b/apparmor.d/profiles-s-z/usbguard-dbus @@ -10,7 +10,7 @@ include @{exec_path} = @{bin}/usbguard-dbus profile usbguard-dbus @{exec_path} { include - include + include # Needed? deny capability sys_nice,