kdbus: always pack message header as as single PAYLOAD_VEC item 89/71489/1 accepted/tizen/common/20160530.131628 accepted/tizen/ivi/20160602.021635 accepted/tizen/mobile/20160602.021631 accepted/tizen/tv/20160602.021607 accepted/tizen/wearable/20160602.021621 submit/tizen/20160527.082529
authorLukasz Skalski <l.skalski@samsung.com>
Wed, 25 May 2016 12:46:10 +0000 (14:46 +0200)
committerLukasz Skalski <l.skalski@samsung.com>
Wed, 25 May 2016 12:46:45 +0000 (14:46 +0200)
commit4267655bc24521da58c89f6a42660638680c4229
tree8f6cb030affbccc50aef6fc2de970f4cbcf8ab5d
parentd6774e513d1a1473bd11913127a3640b6e82b099
kdbus: always pack message header as as single PAYLOAD_VEC item

According to PORTING-DBUS1 document [1], the message header in its
entirety must be contained in a single PAYLOAD_VEC item. What's more,
in case of memfd transport, message footer (which contains body signature
and offsets size) has to be attached at the end of message as a yet another
PAYLOAD_VEC item.

[1] https://cgit.freedesktop.org/systemd/systemd/tree/src/libsystemd/sd-bus/PORTING-DBUS1

Change-Id: I282589c0641c1eb97f874fcfd6e3bee6ecacc8ae
dbus/dbus-message.c
dbus/dbus-transport-kdbus.c
dbus/kdbus-common.c