Do not allow eavedropping unless rule owner explicitely declare it
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>
Mon, 11 Jul 2011 16:03:00 +0000 (17:03 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 11 Jul 2011 16:03:20 +0000 (17:03 +0100)
commita940e7b1d1b6b832e2ec732a11f495240156fb31
tree55ddc85e3f8b7b9cc4858ab9029ec4ffa96d4c93
parent0ecd0a02b993685a456da58c5c03e2d3bab17d67
Do not allow eavedropping unless rule owner explicitely declare it

Adds "eavesdrop=true" as a match rule, meaning that the owner
intend to eavedrop.
Otherwise the owner will receive only broadcasted messages and the ones
meant to be delivered to it.

[plus a typo fix in an error message -smcv]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37890
Bug-NB: NB#269748
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/signals.c
bus/signals.h