]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-kernel.c
sd-bus: sync with kdbus upstream (ABI break)
authorDaniel Mack <daniel@zonque.org>
Thu, 13 Nov 2014 19:33:03 +0000 (20:33 +0100)
committerDaniel Mack <daniel@zonque.org>
Thu, 13 Nov 2014 19:41:52 +0000 (20:41 +0100)
commit63cc4c3138fd0ce9cc97884373a2dd8959a13ee9
treea3a1da14e79d69685cd1c5ecf8b0baff703a21f0
parentc1ec25a0634bba8ef82b69ac603597d4749baf9d
sd-bus: sync with kdbus upstream (ABI break)

kdbus has seen a larger update than expected lately, most notably with
kdbusfs, a file system to expose the kdbus control files:

 * Each time a file system of this type is mounted, a new kdbus
   domain is created.

 * The layout inside each mount point is the same as before, except
   that domains are not hierarchically nested anymore.

 * Domains are therefore also unnamed now.

 * Unmounting a kdbusfs will automatically also detroy the
   associated domain.

 * Hence, the action of creating a kdbus domain is now as
   privileged as mounting a filesystem.

 * This way, we can get around creating dev nodes for everything,
   which is last but not least something that is not limited by
   20-bit minor numbers.

The kdbus specific bits in nspawn have all been dropped now, as nspawn
can rely on the container OS to set up its own kdbus domain, simply by
mounting a new instance.

A new set of mounts has been added to mount things *after* the kernel
modules have been loaded. For now, only kdbus is in this set, which is
invoked with mount_setup_late().
17 files changed:
src/core/kmod-setup.c
src/core/main.c
src/core/manager.c
src/core/mount-setup.c
src/core/mount-setup.h
src/core/namespace.c
src/dbus1-generator/dbus1-generator.c
src/libsystemd/sd-bus/PORTING-DBUS1
src/libsystemd/sd-bus/bus-kernel.c
src/libsystemd/sd-bus/bus-kernel.h
src/libsystemd/sd-bus/kdbus.h
src/libsystemd/sd-bus/sd-bus.c
src/login/pam_systemd.c
src/nspawn/nspawn.c
src/shared/def.h
units/systemd-bus-proxyd@.service.in
units/user/systemd-bus-proxyd@.service.in