distribution/packages/network/bluez/patches/bluez-01_add-obexd-policy.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

2022-03-19 02:16:23 +00:00
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index 8a1e258..31b7542 100644
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -20,10 +20,24 @@
2022-02-05 14:23:32 +00:00
<allow send_interface="org.freedesktop.DBus.ObjectManager"/>
<allow send_interface="org.freedesktop.DBus.Properties"/>
2022-03-19 02:16:23 +00:00
<allow send_interface="org.mpris.MediaPlayer2.Player"/>
2022-02-05 14:23:32 +00:00
+
+ <allow own="org.bluez.obex"/>
+ <allow send_destination="org.bluez.obex"/>
+ <allow send_interface="org.bluez.obex.Agent1"/>
+ <allow send_interface="org.bluez.obex.Client1"/>
+ <allow send_interface="org.bluez.obex.Session1"/>
+ <allow send_interface="org.bluez.obex.Transfer1"/>
+ <allow send_interface="org.bluez.obex.ObjectPush1"/>
+ <allow send_interface="org.bluez.obex.FileTransfer1"/>
+ <allow send_interface="org.bluez.obex.PhonebookAccess1"/>
+ <allow send_interface="org.bluez.obex.Synchronization1"/>
+ <allow send_interface="org.bluez.obex.MessageAccess1"/>
+ <allow send_interface="org.bluez.obex.Message1"/>
</policy>
<policy context="default">
2022-03-19 02:16:23 +00:00
<allow send_destination="org.bluez"/>
2022-02-05 14:23:32 +00:00
+ <deny send_destination="org.bluez.obex"/>
</policy>
</busconfig>