SOURCES: dbus-allow-introspection.patch - updated for 1.2.10

qboosh qboosh at pld-linux.org
Fri Dec 26 10:10:55 CET 2008


Author: qboosh                       Date: Fri Dec 26 09:10:55 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 1.2.10

---- Files affected:
SOURCES:
   dbus-allow-introspection.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/dbus-allow-introspection.patch
diff -u SOURCES/dbus-allow-introspection.patch:1.2 SOURCES/dbus-allow-introspection.patch:1.3
--- SOURCES/dbus-allow-introspection.patch:1.2	Fri Dec 12 20:52:45 2008
+++ SOURCES/dbus-allow-introspection.patch	Fri Dec 26 10:10:49 2008
@@ -1,29 +1,25 @@
---- a/bus/system.conf.in
-+++ b/bus/system.conf.in
-@@ -50,6 +50,9 @@
-          even if they aren't in here -->
-     <allow send_destination="org.freedesktop.DBus"/>
-     <allow receive_sender="org.freedesktop.DBus"/>
+--- dbus-1.2.10/bus/system.conf.in.orig	2008-12-18 22:10:55.000000000 +0100
++++ dbus-1.2.10/bus/system.conf.in	2008-12-26 02:04:26.330514668 +0100
+@@ -55,6 +55,9 @@
+     <allow send_type="signal"/>
+     <allow send_requested_reply="true" send_type="method_return"/>
+     <allow send_requested_reply="true" send_type="error"/>
 +    <!-- Introspection and Peer methods are always allowed -->
 +    <allow send_interface="org.freedesktop.DBus.Introspectable"/>
 +    <allow send_interface="org.freedesktop.DBus.Peer"/>
-     <!-- Allow all signals to be sent by default -->
-     <allow send_type="signal"/>
-     <!-- allow sending valid replies -->
---- a/test/name-test/tmp-session-like-system.conf
-+++ b/test/name-test/tmp-session-like-system.conf
-@@ -25,10 +25,13 @@
-     <!-- But allow all users to connect -->
-     <allow user="*"/>
-     <!-- Allow anyone to talk to the message bus -->
--    <!-- FIXME I think currently these eallow rules are always implicit 
-+    <!-- FIXME I think currently these allow rules are always implicit 
-          even if they aren't in here -->
-     <allow send_destination="org.freedesktop.DBus"/>
-     <allow receive_sender="org.freedesktop.DBus"/>
+ 
+     <!-- All messages may be received by default -->
+     <allow receive_type="method_call"/>
+--- dbus-1.2.10/test/name-test/tmp-session-like-system.conf.orig	2008-12-19 20:39:55.000000000 +0100
++++ dbus-1.2.10/test/name-test/tmp-session-like-system.conf	2008-12-26 09:42:41.950513830 +0100
+@@ -24,6 +24,10 @@
+     <deny own="*"/>
+     <deny send_type="method_call"/>
+ 
 +    <!-- Introspection and Peer methods are always allowed -->
 +    <allow send_interface="org.freedesktop.DBus.Introspectable"/>
 +    <allow send_interface="org.freedesktop.DBus.Peer"/>
-     <!-- Allow all signals to be sent by default -->
++
+     <!-- Signals and reply messages (method returns, errors) are allowed
+          by default -->
      <allow send_type="signal"/>
-     <!-- valid replies are always allowed -->
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dbus-allow-introspection.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list