Disallow unexpected replies
authorLars Uebernickel <lars@uebernic.de>
Mon, 2 Nov 2015 14:47:39 +0000 (15:47 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 6 Nov 2015 17:29:56 +0000 (18:29 +0100)
commitfc255f66f164caa5cd6dc9ea65fcf27a775f528f
treebd4e12b646856a85552380f06a3b723493b65cc4
parent9f36e212daab3909f9700277533fdffaf377ae33
Disallow unexpected replies

Allowing to send replies when NO_REPLY_EXPECTED is set is useless in
practice: Clients need to be careful not to send these replies, because
bus policy could deny these messages. The spec even mentions that this
issue exists.

To make this more clear and misbehaving clients less likely, disallow
sending unexpected replies entirely.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=75749
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
doc/dbus-specification.xml