]> git.ipfire.org Git - thirdparty/dbus.git/commit
dbus-spawn-unix: If a fd is not close-on-exec, look it up in /proc/self/fd
authorSimon McVittie <smcv@collabora.com>
Tue, 20 Nov 2018 17:32:02 +0000 (17:32 +0000)
committerSimon McVittie <smcv@collabora.com>
Tue, 20 Nov 2018 18:56:26 +0000 (18:56 +0000)
commitebf487ef03e36850182e372912a41841838921b4
tree4d92468affb77005a4bb994dc40bb373c350d756
parentcdcf3c04ddce7e27a7501d50a9119b56fbd4950c
dbus-spawn-unix: If a fd is not close-on-exec, look it up in /proc/self/fd

In operating systems where /proc/self/fd works like it does on Linux
(Linux itself, and FreeBSD with Linux /proc emulation) this will give
us a clue about the fd that was leaked or opened incorrectly.

Signed-off-by: Simon McVittie <smcv@collabora.com>
dbus/dbus-spawn-unix.c