chiark / gitweb /
sd-bus: change serialization of kdbus messages to qualify in their entirety as gvaria...
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Jan 2015 20:48:08 +0000 (21:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Jan 2015 20:52:07 +0000 (21:52 +0100)
commitb381de4197157748ed96e469fcc372c23f842ae1
tree5f5fa7cc7a4a703c294d92b9501772857a286fdb
parentee04388a54f0e045377eeaf33c17eb357fe12d69
sd-bus: change serialization of kdbus messages to qualify in their entirety as gvariant objects

Previously, we only minimally altered the dbus1 framing for kdbus, and
while the header and its fields where compliant Gvariant objects, and so
was the body, the entire message together was not.

As result of discussions with Ryan Lortie this is now changed, so that
the messages in there entirely are fully compliant GVariants. This
follows the framing description described here:

https://wiki.gnome.org/Projects/GLib/GDBus/Version2

Note that this change changes the framing of *all* messages sent via
kdbus, this means you have to reboot your kdbus system, after compiling
and installing this new version.
src/libsystemd/sd-bus/DIFFERENCES
src/libsystemd/sd-bus/GVARIANT-SERIALIZATION
src/libsystemd/sd-bus/bus-gvariant.c
src/libsystemd/sd-bus/bus-gvariant.h
src/libsystemd/sd-bus/bus-kernel.c
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/bus-message.h
src/libsystemd/sd-bus/bus-protocol.h
src/libsystemd/sd-bus/test-bus-gvariant.c