chiark / gitweb /
bus: stop using EDEADLOCK
[elogind.git] / src / libsystemd / sd-bus / DIFFERENCES
1 Known differences between dbus1 and kdbus:
2
3 - NameAcquired/NameLost is gone entirely on kdbus backends if
4   libsystemd is used. It is still added in by systemd-bus-proxyd
5   for old dbus1 clients, and it is available if libsystemd is used
6   against the classic dbus1 daemon. If you want to write compatible
7   code with libsystem-bus you need to explicitly subscribe to
8   NameOwnerChanged signals and just ignore NameAcquired/NameLost
9
10 - Applications have to deal with spurious signals they didn't expect,
11   due to the probabilistic bloom filters. They need to handle this
12   anyway, given that any client can send anything to arbitrary clients
13   anyway, even in dbus1, so not much changes.
14
15 - clients of the system bus when kdbus is used must roll their own
16   security. Only legacy dbus1 clients get the old XML policy enforced,
17   which is implemented by systemd-bus-proxyd.
18
19 - Serial numbers of synthesized messages are always (uint32_t) -1.
20
21 - NameOwnerChanged is a synthetic message, generated locally and not
22   by the driver. On dbus1 only the Disconnected message was
23   synthesized like this.
24
25 - There's no standard per-session bus anymore. Only a per-user bus.