summaryrefslogtreecommitdiff
path: root/src/dbus-common.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-11 00:52:13 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-11 00:52:31 +0100
commit720ce21d444f6497299c4c99a76fda546b06716a (patch)
tree290218a959a99f46c65e25c3717860438b05bdef /src/dbus-common.c
parentb997812119882f95a9456ce15667b0545be8e417 (diff)
util: close all fds before freezing execution
Diffstat (limited to 'src/dbus-common.c')
-rw-r--r--src/dbus-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus-common.c b/src/dbus-common.c
index 80b2115e16..809ea0f67a 100644
--- a/src/dbus-common.c
+++ b/src/dbus-common.c
@@ -77,6 +77,9 @@ int bus_connect(DBusBusType t, DBusConnection **_bus, bool *private, DBusError *
return -EACCES;
}
+ /* This complexity should probably move into D-Bus itself:
+ *
+ * https://bugs.freedesktop.org/show_bug.cgi?id=35189 */
begin = tstamp = now(CLOCK_MONOTONIC);
for (;;) {