Bug#722885: accept4 on kfreebsd
The accept4() prototype is marked as a stub.
I.e. usual configure.ac
AC_INIT()
AC_CHECK_FUNCS(accept4)
says
checking for accept4... no
The ruby uses own checking, which does not honour stub marking.
The way forward here will be to provide some day
#define SOCK_CLOEXEC 0x10000000
#define SOCK_NONBLOCK 0x20000000
matching FreeBSD 10.0 kernel and in the same time also wrappers for
related functions with stub marking removed - not only accept4.
The eglibc still have to be functional under wheezy kernels,
i.e. (k)FreeBSD 8.3 and 9.0 to allow upgrades to jessie.
I hope that jessie will be released with 10.x kernel only.
Petr
Reply to: