]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd/sd-bus/DIFFERENCES
sd-bus: properly handle uninitialized audit creds from kdbus
[thirdparty/systemd.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 - The org.freedesktop.DBus "driver" service is not special on
22 kdbus. It is a bus activated service like any other with its own
23 unique name.
24
25 - NameOwnerChanged is a synthetic message, generated locally and not
26 by the driver.
27
28 - There's no standard per-session bus anymore. Only a per-user bus.