From: Adrian Szyndela Date: Fri, 26 Apr 2019 09:14:08 +0000 (+0200) Subject: doc: described send_destination_prefix in manual X-Git-Tag: dbus-1.13.12~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcbab02613d38db4aad5a23ce7ac2505540078d1;p=thirdparty%2Fdbus.git doc: described send_destination_prefix in manual This adds a description of send_destination_prefix to the dbus-daemon manual. Signed-off-by: Adrian Szyndela Change-Id: I46e6fa54ee34095c3ac83ec2c06cb91cf5669c7f --- diff --git a/doc/dbus-daemon.1.xml.in b/doc/dbus-daemon.1.xml.in index acbc7ded4..84698ca7c 100644 --- a/doc/dbus-daemon.1.xml.in +++ b/doc/dbus-daemon.1.xml.in @@ -919,6 +919,7 @@ statements, and works just like <deny> but with the inverse meaning.receive_sender="*" similarly matches any message. + + A send_destination_prefix rule opens or closes + the whole namespace for sending. It means that messages may or may not + be sent to the owner of any name matching the prefix, regardless of whether + it is the primary or the queued owner. + In other words, for <allow send_destination_prefix="a.b"/> + rule and names "a.b", "a.b.c", and "a.b.c.d" present on the bus, it works the same as + if three separate rules: <allow send_destination="a.b"/>, + <allow send_destination="a.b.c"/>, and + <allow send_destination="a.b.c.d"/> had been defined. + The rules for matching names are the same as in own_prefix + (see below): a prefix of "a.b" matches names "a.b" or "a.b.c" or "a.b.c.d", but not "a.bc" + or "a.c". The send_destination_prefix attribute cannot be combined + with the send_destination attribute in the same rule. + + Rules with send_broadcast="true" match signal messages with no destination (broadcasts). Rules with