1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/lib/libc/resolv
John Baldwin 5e41bd2cd2 Only reject file descriptors higher than FD_SETSIZE if we are not using
poll(2) or kqueue(2).  Previously we rejected fd's higher than FD_SETSIZE
for kevent(2), and larger than sysconf(_SC_OPEN_MAX) for poll(2).  However,
the check for poll(2) wasn't really needed.  open(2) and socket(2) won't
return an fd you can't pass to either poll(2) or kevent(2).  This fixes
a but where gethostbyname() would fail if you had more than 1023 files
open in a process.

MFC after:	1 week
Reviewed by:	ume
Found by:	ps
2007-03-05 19:39:51 +00:00
..
h_errno.c Nuke some compatibility crufts of resolver for 6.X and earlier. 2006-05-21 11:29:26 +00:00
herror.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
Makefile.inc Upgrade res_update(3) and the friends to BIND9's one excluding TSIG 2006-05-21 11:19:36 +00:00
mtctxres.c Merge BIND9 9.3.3 into main chunk. 2006-12-15 20:59:55 +00:00
res_comp.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
res_data.c Expose res_update and friends again. At least, ports/mail/spamilter 2006-03-30 20:15:53 +00:00
res_debug.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
res_debug.h Vendor import of BIND 9.3.2 2006-03-21 15:03:19 +00:00
res_findzonecut.c Upgrade res_update(3) and the friends to BIND9's one excluding TSIG 2006-05-21 11:19:36 +00:00
res_init.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
res_mkquery.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
res_mkupdate.c Upgrade res_update(3) and the friends to BIND9's one excluding TSIG 2006-05-21 11:19:36 +00:00
res_private.h Vendor import of BIND 9.3.2 2006-03-21 15:03:19 +00:00
res_query.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
res_send.c Only reject file descriptors higher than FD_SETSIZE if we are not using 2007-03-05 19:39:51 +00:00
res_state.c Nuke some compatibility crufts of resolver for 6.X and earlier. 2006-05-21 11:29:26 +00:00
res_update.c Upgrade res_update(3) and the friends to BIND9's one excluding TSIG 2006-05-21 11:19:36 +00:00
Symbol.map Nuke some compatibility crufts of resolver for 6.X and earlier. 2006-05-21 11:29:26 +00:00