]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: Do not promise match rules with eavesdrop='true' can be added
authorSimon McVittie <smcv@collabora.com>
Thu, 29 Jun 2017 15:31:46 +0000 (16:31 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 29 Jun 2017 16:46:26 +0000 (17:46 +0100)
This is no longer true, and it seems less misleading to raise an
error than to obey the letter of the spec by quietly ignoring calls
from an inappropriate caller.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101567

doc/dbus-specification.xml

index 5145581c35dc414e944c81807e65b83dd7d03f97..571f037d9d5ca2222482f206a17ef022ab4c17df 100644 (file)
         <para>
           Clients may attempt to eavesdrop by adding match rules
           (see <xref linkend="message-bus-routing-match-rules"/>) containing
-          the <literal>eavesdrop='true'</literal> match. If the message bus'
-          security policy does not allow eavesdropping, the match rule can
-          still be added, but will not have any practical effect. For
+          the <literal>eavesdrop='true'</literal> match. For
           compatibility with older message bus implementations, if adding such
           a match rule results in an error reply, the client may fall back to
           adding the same rule with the <literal>eavesdrop</literal> match
                     delivered to their <literal>DESTINATION</literal>
                     regardless of match rules, so this match does not
                     affect normal delivery of unicast messages.
-                    If the message bus has a security policy which forbids
-                    eavesdropping, this match may still be used without error,
-                    but will not have any practical effect.
                     In older versions of D-Bus, this match was not allowed
                     in match rules, and all match rules behaved as if
                     <literal>eavesdrop='true'</literal> had been used.