freebsd-dev/lib/libc/net
Peter Wemm 535db1806c Call poll(2) from within the resolver but adapt to older kernels without it
if necessary.  This removes the need to malloc large fd_set's for selecting
on high fd's (larger than FD_SETSIZE at libc compile time).

The syscall adaptive stuff only happens on the very first call.  SIGSYS
is masked, and if the call to poll fails with ENOSYS, then we use select
for the life of the program.  If poll does not fail with ENOSYS, then we
always use poll and skip the once-off signal masking gunk.

This may be overkill, but it saved my neck a few times while working on
multiple different sets of kernel sources, some with poll, some without.
1997-09-14 09:44:34 +00:00
..
addr2ascii.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:26:42 +00:00
addr2ascii.c It would help if I actually added the source code for these routines. 1996-06-13 20:45:42 +00:00
ascii2addr.c Fix the fix. 1996-12-13 13:31:12 +00:00
base64.c Here goes.. Bring the 4.9.5-P1 resolver into -current. This has the 1996-12-30 13:18:48 +00:00
byteorder.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ether_addr.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
ethers.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
gethostbydns.c Merge in bind-4.9.6 resolver changes. Note that they resolve the 1997-06-27 08:22:03 +00:00
gethostbyht.c Merge in bind-4.9.6 resolver changes. Note that they resolve the 1997-06-27 08:22:03 +00:00
gethostbyname.3 Typo. 1997-06-18 06:26:13 +00:00
gethostbynis.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
gethostnamadr.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getnetbydns.c Merge in bind-4.9.6 resolver changes. Note that they resolve the 1997-06-27 08:22:03 +00:00
getnetbyht.c Merge in bind-4.9.6 resolver changes. Note that they resolve the 1997-06-27 08:22:03 +00:00
getnetbynis.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
getnetent.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:26:42 +00:00
getnetnamadr.c Merge in bind-4.9.6 resolver changes. Note that they resolve the 1997-06-27 08:22:03 +00:00
getproto.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
getprotoent.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:26:42 +00:00
getprotoent.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoname.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
getservbyname.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
getservbyport.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
getservent.3 Import Lite2's src/lib, except for non-i386 machine-dependent directories, 1997-07-03 03:28:27 +00:00
getservent.c Small yet significant tweaks/cleanups: 1996-12-27 18:21:07 +00:00
herror.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet_addr.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet_lnaof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_makeaddr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_net_ntop.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet_net_pton.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet_neta.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet_netof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_network.c General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
inet_ntoa.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_ntop.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet_pton.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
inet.3 Fixed missing #include of <sys/types.h> and wrong arg types in synopsis. 1997-03-19 19:41:20 +00:00
iso_addr.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
iso_addr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
linkaddr.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
linkaddr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
Makefile.inc Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
map_v4v6.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
ns_addr.c Here goes.. Bring the 4.9.5-P1 resolver into -current. This has the 1996-12-30 13:18:48 +00:00
ns_ntoa.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ns.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
nsap_addr.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
rcmd.3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
rcmd.c Buffer overflow from DNS name information which could cause root access 1997-02-26 06:12:34 +00:00
recv.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
res_comp.c Import Lite2's src/lib, except for non-i386 machine-dependent directories, 1997-07-03 03:28:27 +00:00
res_config.h Here goes.. Bring the 4.9.5-P1 resolver into -current. This has the 1996-12-30 13:18:48 +00:00
res_data.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
res_debug.c Import Lite2's src/lib, except for non-i386 machine-dependent directories, 1997-07-03 03:28:27 +00:00
res_init.c Add "options no_tld_query" to resolv.conf. 1997-09-01 01:19:23 +00:00
res_mkquery.c Import Lite2's src/lib, except for non-i386 machine-dependent directories, 1997-07-03 03:28:27 +00:00
res_query.c Add "options no_tld_query" to resolv.conf. 1997-09-01 01:19:23 +00:00
res_send.c Call poll(2) from within the resolver but adapt to older kernels without it 1997-09-14 09:44:34 +00:00
res_stubs.c compensate for res_send <-> __res_send changes 1997-06-27 08:35:13 +00:00
resolver.3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:26:42 +00:00
send.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00