Jens Mühlenhoff, le Thu 19 Sep 2013 01:55:24 +0200, a écrit :
> is returning errno = 1073741865 which is ESPIPE?!

Err, no, it's 0x40000029, i.e. _HURD_ERRNO(41), i.e. EPROTOTYPE.

> I think that translates to socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)

Yes. SOCK_CLOEXEC is not currently supported, the TCP/IP stack thinks
the caller is inventing a new proto type numbered 4194305.  You would
get the same behavior on Linux when building the application against a
recent libc, but running it against an old kernel without SOCK_CLOEXEC
support.

Samuel


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to