]> git.pld-linux.org Git - packages/dbus.git/blame - dbus-allow-introspection.patch
- re-enable introspection after last CVE fix
[packages/dbus.git] / dbus-allow-introspection.patch
CommitLineData
ad235b46
PZ
1--- a/bus/system.conf.in
2+++ b/bus/system.conf.in
3@@ -50,6 +50,9 @@
4 even if they aren't in here -->
5 <allow send_destination="org.freedesktop.DBus"/>
6 <allow receive_sender="org.freedesktop.DBus"/>
7+ <!-- Introspection and Peer methods are always allowed -->
8+ <allow send_interface="org.freedesktop.DBus.Introspectable"/>
9+ <allow send_interface="org.freedesktop.DBus.Peer"/>
10 <!-- allow sending valid replies -->
11 <allow send_requested_reply="true" send_type="method_return"/>
12 <allow send_requested_reply="true" send_type="error"/>
13--- a/test/name-test/tmp-session-like-system.conf
14+++ b/test/name-test/tmp-session-like-system.conf
15@@ -25,10 +25,13 @@
16 <!-- But allow all users to connect -->
17 <allow user="*"/>
18 <!-- Allow anyone to talk to the message bus -->
19- <!-- FIXME I think currently these eallow rules are always implicit
20+ <!-- FIXME I think currently these allow rules are always implicit
21 even if they aren't in here -->
22 <allow send_destination="org.freedesktop.DBus"/>
23 <allow receive_sender="org.freedesktop.DBus"/>
24+ <!-- Introspection and Peer methods are always allowed -->
25+ <allow send_interface="org.freedesktop.DBus.Introspectable"/>
26+ <allow send_interface="org.freedesktop.DBus.Peer"/>
27 <!-- valid replies are always allowed -->
28 <allow send_requested_reply="true" send_type="method_return"/>
29 <allow send_requested_reply="true" send_type="error"/>
30--
311.6.0.4
32
This page took 0.031995 seconds and 4 git commands to generate.