]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: Don't expect clients to support obsolete message buses
authorSimon McVittie <smcv@collabora.com>
Wed, 25 Sep 2024 17:11:32 +0000 (18:11 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 1 Oct 2024 14:00:56 +0000 (15:00 +0100)
The newest release of the reference message bus that did not support
GetConnectionCredentials was 1.6.30, almost a decade ago.
It's entirely reasonable for new code to assume that
GetConnectionCredentials will succeed, and not implement a fallback.

Signed-off-by: Simon McVittie <smcv@collabora.com>
doc/dbus-specification.xml

index 69789ded107ca7b42c2329c881e9db7a3c566d50..c2736d3051ac90605a71bb7e46d33ba6955b5a09 100644 (file)
         <para>
           This method was added in D-Bus 1.7 to reduce the round-trips
           required to list a process's credentials. In older versions, calling
-          this method will fail: applications should recover by using the
-          separate methods such as
+          this method will fail: applications wishing to support obsolete
+          message bus versions can recover by using the separate methods such as
           <link linkend="bus-messages-get-connection-unix-user">GetConnectionUnixUser</link>
           instead.
         </para>