diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-22 14:41:53 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-11-11 14:14:01 +0100 |
commit | 022fb8558e797483709ab3e9fe846f04f7026dac (patch) | |
tree | 506558821d73d5a71578d3bd66377be289f16d52 /autogen.sh | |
parent | 7e27f3121e5a10629302b5221eb21345f832724a (diff) |
sd-bus: add sd_bus_message.verify_destination_id and .destination_ptr
kdbus learned to accept both a numerical destination ID as well as a
well-known-name. In that case, kdbus makes sure that the numerical ID is in
fact the owner of the provided name and fails otherwise.
This allows for race-free assertion of a bus name owner while sending a
message, which is a requirement for bus-proxyd.
Add two new fields to sd_bus_message, and set the numerical ID to
verify_destination_id if bus_message_setup_kmsg() is called for a
message with a well-known name.
Also, set the destination's name in the kdbus item to .destination_ptr
if it is non-NULL.
Normal users should not touch these fields, and they're not publicy
accessible.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions