summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/libsystemd.sym
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-15 22:24:52 +0100
committerLennart Poettering <lennart@poettering.net>2018-01-05 13:55:08 +0100
commit8a5cd31e5fa0b1313a196b902e4b3c4603e7dfdf (patch)
tree2b2abd84deac871c259ed03fd639caf936017770 /src/libsystemd/libsystemd.sym
parentbus: touch() the AF_UNIX sockets we listen() on after the fact (diff)
downloadsystemd-8a5cd31e5fa0b1313a196b902e4b3c4603e7dfdf.tar.xz
systemd-8a5cd31e5fa0b1313a196b902e4b3c4603e7dfdf.zip
sd-bus: optionally, use inotify to wait for bus sockets to appear
This adds a "watch-bind" feature to sd-bus connections. If set and the AF_UNIX socket we are connecting to doesn't exist yet, we'll establish an inotify watch instead, and wait for the socket to appear. In other words, a missing AF_UNIX just makes connecting slower. This is useful for daemons such as networkd or resolved that shall be able to run during early-boot, before dbus-daemon is up, and want to connect to dbus-daemon as soon as it becomes ready.
Diffstat (limited to 'src/libsystemd/libsystemd.sym')
-rw-r--r--src/libsystemd/libsystemd.sym6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym
index 1a29b03e85..4229e0aeb1 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/libsystemd.sym
@@ -530,3 +530,9 @@ global:
sd_bus_message_new;
sd_bus_message_seal;
} LIBSYSTEMD_234;
+
+LIBSYSTEMD_237 {
+global:
+ sd_bus_set_watch_bind;
+ sd_bus_get_watch_bind;
+} LIBSYSTEMD_236;