sysdeps-unix: introduce dbus_close_all() and make use of it where appropriate
This is optimized on Linux and enumerates through /proc/self/fd with a fallback on brute-force closing of fds, in case /proc is not available. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35230Reviewed-by:Simon McVittie <simon.mcvittie@collabora.co.uk>
Showing
Please register or sign in to comment