Branch: Tag:

2014-09-24

2014-09-24 16:41:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Added check and fallback for accept4(2).

accept4(2) is a system call available on current Linux and many BSDs,
that allows for setting the close-on-exec and non-blocking flags
on the resulting fd.

4510:   AC_CHECK_FUNCS( \    _crypt \    poll \ +  accept4 \    closefrom \    crypt \    fdwalk \