Skip to content
  • Lennart Poettering's avatar
    cloexec: set FD_CLOEXEC for all full duplex pipes · 44f3a146
    Lennart Poettering authored
    All users of full duplex pipes enable FD_CLOEXEC later anyway so let's
    just do it as part of _dbus_full_duplex_pipe. By side effect this allows
    to make use of SOCK_CLOEXEC which fixes a race when forking/execing from
    a different thread at the same time as we ar in this function.
    44f3a146