? inetd ? inetd.8.manlint ? inetd.conf Index: inetd.c =================================================================== RCS file: /cvs/src/usr.sbin/inetd/inetd.c,v retrieving revision 1.142 diff -u -p -r1.142 inetd.c --- inetd.c 29 Oct 2014 03:33:14 -0000 1.142 +++ inetd.c 1 Dec 2014 01:45:27 -0000 @@ -878,6 +878,8 @@ setsockopt(fd, SOL_SOCKET, opt, &on, siz listen(sep->se_fd, 10); if (!sep->se_wait && sep->se_socktype == SOCK_STREAM) { + if (ioctl(sep->se_fd, FIONBIO, &on) == -1) + syslog(LOG_ERR, "ioctl(FIONBIO): %m"); event_set(&sep->se_event, sep->se_fd, EV_READ|EV_PERSIST, gettcp, sep); } else {