]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: Document the canonical object path for the bus driver
authorSimon McVittie <smcv@collabora.com>
Wed, 31 May 2017 17:32:05 +0000 (18:32 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 2 Jun 2017 09:43:34 +0000 (10:43 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101256

doc/dbus-specification.xml

index 20f9f1781f17cd96fc2f464fb979b352a0edebd7..320a5c9ab9516007d9d3202dbcd392bf35c320ef 100644 (file)
       <title>Message Bus Messages</title>
       <para>
         The special message bus name <literal>org.freedesktop.DBus</literal>
-        responds to a number of additional messages.
+        responds to a number of additional messages at the object path
+        <literal>/org/freedesktop/DBus</literal>.
+        That object path is also used when emitting the
+        <xref linkend='bus-messages-name-owner-changed'/> signal.
+      </para>
+
+      <para>
+        For historical reasons, some of the methods in the
+        <literal>org.freedesktop.DBus</literal> interface are available
+        on multiple object paths. Message bus implementations should
+        accept method calls that were added before specification version
+        0.26 on any object path. Message bus implementations should
+        not accept newer method calls on unexpected object paths,
+        and as a security hardening measure, older method calls
+        that are security-sensitive may be rejected with the error
+        <literal>org.freedesktop.DBus.Error.AccessDenied</literal> when
+        called on an unexpected object path. Client software should send
+        all method calls to <literal>/org/freedesktop/DBus</literal>
+        instead of relying on this.
       </para>
 
       <sect3 id="bus-messages-hello">