From: Simon McVittie Date: Wed, 25 Sep 2024 17:11:32 +0000 (+0100) Subject: spec: Don't expect clients to support obsolete message buses X-Git-Tag: dbus-1.15.12~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c3a2f67b16b001f420ada6db8fe6413dc6a1d9;p=thirdparty%2Fdbus.git spec: Don't expect clients to support obsolete message buses 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 --- diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 69789ded1..c2736d305 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -7041,8 +7041,8 @@ 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 GetConnectionUnixUser instead.