[systemd-devel] [PATCH 0/7] kdbus related libsystemd-bus patches

Daniel Mack zonque at gmail.com
Fri Nov 15 10:32:16 PST 2013


I'm currently working on a way to connect traditional DBus clients to
kdbus. Here are some patches that can already be merged.

What's missing and still under development is a service that provides
org.freedesktop.DBus on kdbus, and which translates the native interface
to calls in libsystemd-bus. This almost works now, but there are some
missing pieces in libsystemd-bus which need to be done first.

The actual socket connection is surprisingly simple, and can be done
with the sdio-bridge which I augmented a bit for that use case.


Thanks,
Daniel

Daniel Mack (7):
  libsystemd-bus: bring definitions in sync with kdbus
  libsystemd-bus: query minimum buffer size for KDBUS_CMD_NAME_QUERY
  libsystemd-bus: add kdbus support for sd_bus_list_names()
  libsystemd-bus: add kdbus support for sd_bus_get_owner(|_pid|_uid)
  libsystemd-bus: add sd_bus_get_selinux_ctx() and
    sd_bus_get_audit_session_data()
  libsystemd-bus: gracefully handle 0-sized payload vectors
  systemd-stdio-bridge: make it socket-activatable and usable as kdbus
    bridge

 src/libsystemd-bus/bus-control.c      | 371 ++++++++++++++++++++++++++--------
 src/libsystemd-bus/bus-internal.h     |   3 +
 src/libsystemd-bus/bus-kernel.c       |  27 ++-
 src/libsystemd-bus/bus-kernel.h       |  14 +-
 src/libsystemd-bus/libsystemd-bus.sym |   2 +
 src/stdio-bridge/stdio-bridge.c       | 116 +++++++++--
 src/systemd/sd-bus.h                  |   2 +
 7 files changed, 424 insertions(+), 111 deletions(-)

-- 
1.8.4.2



More information about the systemd-devel mailing list