usbguard/CVE-2019-25058-2.patch
2022-03-07 17:36:22 +08:00

50 lines
1.7 KiB
Diff

From d2839e8f6f9096c889c4fbd09b08dc6deff5eab2 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Sat, 5 Feb 2022 21:40:17 +0100
Subject: [PATCH] dbus: Drop policies of removed D-Bus methods
---
src/DBus/org.usbguard.policy | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/src/DBus/org.usbguard.policy b/src/DBus/org.usbguard.policy
index 7704583..b89c96e 100644
--- a/src/DBus/org.usbguard.policy
+++ b/src/DBus/org.usbguard.policy
@@ -41,32 +41,5 @@
<allow_active>auth_self_keep</allow_active>
</defaults>
</action>
-
- <action id="org.usbguard.Devices.allowDevice">
- <description>Authorize a USB device via the USBGuard daemon to interact with the system</description>
- <message>Prevents from authorizing USB devices via the USBGuard daemon</message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin</allow_active>
- </defaults>
- </action>
-
- <action id="org.usbguard.Devices.blockDevice">
- <description>Deauthorize a USB device via the USBGuard daemon</description>
- <message>Prevents from deauthorizing USB devices via the USBGuard daemon</message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin</allow_active>
- </defaults>
- </action>
-
- <action id="org.usbguard.Devices.rejectDevice">
- <description>Remove a USB device via the USBGuard daemon</description>
- <message>Prevents from removing USB devices via the USBGuard daemon</message>
- <defaults>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin</allow_active>
- </defaults>
- </action>
</policyconfig>
--
2.23.0