Hi! On Mon, 02 Sep 2013 22:35:51 +0200, Svante Signell <svante.sign...@gmail.com> wrote: > After building dbus-1.6.12-1 with eglibc-2.17-92 starting dbus-daemon > fails (it was built 80 days ago with eglibc-2.13). The problem is due to > the two statements in dbus/dbus-sysdeps-unix.c: > *fd_p = socket (domain, type | SOCK_CLOEXEC, protocol); > cloexec_done = *fd_p >= 0; > if (*fd_p < 0 && errno == EINVAL) > and > retval = socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, fds); > cloexec_done = retval >= 0; > if (retval < 0 && errno == EINVAL) > > Now when SOCK_CLOEXEC is defined in bits/socket.h from 2.16 > and hurd/pflocal/pf.c returns EPROTOTYPE not EINVAL problems arise.
This is strange -- nearly five years ago, I have implemented SOCK_CLOEXEC for socket in TopGit branch t/socket_flags and for socketpair in t/socketpair_flags (plus depending branches t/fcntl-internal.h and t/verify.h). Could you please check why this is no longer functional? Grüße, Thomas
pgpQm1LJlT84R.pgp
Description: PGP signature