]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update the resolver in libc to BIND9's one.
authorume <ume@FreeBSD.org>
Tue, 21 Mar 2006 16:11:11 +0000 (16:11 +0000)
committerume <ume@FreeBSD.org>
Tue, 21 Mar 2006 16:11:11 +0000 (16:11 +0000)
commitb09a8950a1301d97aef8e2975e34a3ba5bc451c3
treee821dd9b60869dd20f6817bbe100b41cd574f673
parenta2c94cecc033518580f28713e669d3f2a7783306
Update the resolver in libc to BIND9's one.

Since, res_sendsigned(3) and the friends use MD5 functions, it is
hard to include them without having MD5 functions in libc.  So,
res_sendsigned(3) is not merged into libc.

Since, res_update(3) in BIND9 is not binary compatible with our
res_update(3), res_update(3) is leaved as is, except some
necessary modifications.
The res_update(3) and the friends are not essential part of the
resolver.  They are not defined in resolv.h but defined in
res_update.h separately in BIND9.  Further, they are not called from
our tree.  So, I hide them from our resolv.h, but leave them only
for binary backward compatibility (perhaps, no one calls them).

Since, struct __res_state_ext is not exposed in BIND9, I hide it
from our resolv.h.  And, global variable _res_ext is removed.  It
breaks binary backward compatibility.  But, since it is not used from
outside of our libc, I think it is safe.

Reviewed by: arch@ (no objection)
47 files changed:
include/arpa/inet.h
include/arpa/nameser.h
include/arpa/nameser_compat.h
include/netdb.h
include/resolv.h
lib/libc/Makefile
lib/libc/net/Makefile.inc
lib/libc/net/Symbol.map
lib/libc/net/getaddrinfo.c
lib/libc/net/gethostbydns.c
lib/libc/net/gethostbyht.c
lib/libc/net/gethostbynis.c
lib/libc/net/gethostnamadr.c
lib/libc/net/getnetbydns.c
lib/libc/net/getnetbyht.c
lib/libc/net/getnetbynis.c
lib/libc/net/herror.c [deleted file]
lib/libc/net/inet_addr.c [deleted file]
lib/libc/net/inet_lnaof.c [deleted file]
lib/libc/net/inet_makeaddr.c [deleted file]
lib/libc/net/inet_net_ntop.c [deleted file]
lib/libc/net/inet_net_pton.c [deleted file]
lib/libc/net/inet_neta.c [deleted file]
lib/libc/net/inet_network.c [deleted file]
lib/libc/net/inet_ntoa.c [deleted file]
lib/libc/net/inet_ntop.c [deleted file]
lib/libc/net/inet_pton.c [deleted file]
lib/libc/net/name6.c
lib/libc/net/netdb_private.h
lib/libc/net/ns_name.c [deleted file]
lib/libc/net/ns_netint.c [deleted file]
lib/libc/net/ns_parse.c [deleted file]
lib/libc/net/ns_print.c [deleted file]
lib/libc/net/ns_ttl.c [deleted file]
lib/libc/net/nsap_addr.c [deleted file]
lib/libc/net/res_comp.c [deleted file]
lib/libc/net/res_config.h
lib/libc/net/res_data.c [deleted file]
lib/libc/net/res_debug.c [deleted file]
lib/libc/net/res_init.c [deleted file]
lib/libc/net/res_mkquery.c [deleted file]
lib/libc/net/res_mkupdate.c
lib/libc/net/res_query.c [deleted file]
lib/libc/net/res_send.c [deleted file]
lib/libc/net/res_send_private.h [deleted file]
lib/libc/net/res_update.c
lib/libc/net/res_update.h [moved from lib/libc/net/inet_netof.c with 57% similarity]