On Tue, Feb 25, 2014 at 7:25 PM, Simon McVittie
<simon.mcvit...@collabora.co.uk> wrote:
> On 25/02/14 17:30, Kay Sievers wrote:
>> There is not real difference, everything is just a message, being a
>> signal or a method. Only signals are limited to pure copied data,
>> disallowing fds; therefore signals will not be suitable for really
>> large data.
>
> D-Bus allows unicast signals (libdbus API: non-NULL destination). Does
> kdbus distinguish between methods and (broadcast or unicast) signals, or
> is the distinction actually between unicast (method, signal or reply)
> messages and broadcast signals?
>
> If the distinction is between unicast and broadcast, this seems a good
> simplification.

We only allow sending of fds to a specific connection, it checks:
  if (msg->dst_id == KDBUS_DST_ID_BROADCAST)
    return -ENOTUNIQ;

The type of message does not matter.

Kay
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to