]> git.ipfire.org Git - thirdparty/dbus.git/commit
dbus-daemon: add send_destination_prefix support
authorAdrian Szyndela <adrian.s@samsung.com>
Wed, 28 Nov 2018 14:15:16 +0000 (15:15 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 26 Apr 2019 11:29:42 +0000 (13:29 +0200)
commit055ff9e64a65931cbd2b94f24ea46bf3750d0b8e
tree3c29341596c34215ef6af254ce98f21e0f50d83a
parent3486e0f48dfadf1b175e3796f0a65c0da231889b
dbus-daemon: add send_destination_prefix support

This extends dbus-daemon with support for send_destination_prefix
attribute in XML policies.

It allows having policy rules for sending to bus names generated
within namespaces defined by a prefix. The similar behaviour can be
emulated by owning an additional name, not used for addressing messages,
as described in
https://lists.freedesktop.org/archives/dbus/2017-May/017188.html
However, introducing send_destination_prefix creates possibility
of communicating intentions in a more direct way, which is easier
to understand.

Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Change-Id: I0016ad93f1c16b7742fef5f45ebaf01b55694d3c
bus/config-parser.c
bus/connection.c
bus/connection.h
bus/policy.c
bus/policy.h