[systemd-devel] Compatibility between D-Bus and kdbus

Lennart Poettering mzqohf at 0pointer.de
Thu Oct 2 08:08:46 PDT 2014


On Thu, 02.10.14 15:59, Simon McVittie (simon.mcvittie at collabora.co.uk) wrote:

> It would probably be good if there was an official way to serialize
> kdbus messages, with their full kdbus_msg headers, into a blob of bytes,
> suitable for recording in files. Will Thompson proposed pcap as a common
> container format for D-Bus messages when read/written by
> monitoring/debugging tools like his Bustle utility, and it seems as good
> as any other. Perhaps we could reserve D-Bus message format version 3
> for an encapsulated kdbus_msg, containing a nested version-2 message in
> its payload? Or define separate pcap packet types for "D-Bus message"
> (already exists) and "encapsulated kdbus_msg" (doesn't yet)?

I am happy to add a pcap writer to busctl... Sounds like an easy
job. Also fine with Dumping out kdbus_msg of course isn't that easy
though as it might reference external memfds and memory areas... 

Lennart

-- 
Lennart Poettering, Red Hat


More information about the dbus mailing list