glibc/nis
Ulrich Drepper 1eb946b935 * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend
prototypes.
	* include/arpa/nameser_compat.h: Define T_UNSPEC.
	* nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r.
	(libnss_nisplus): Export _nss_nisplus_gethostbyname4_r.
	* nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle
	af==AF_UNSPEC.
	(_nss_nis_gethostbyname4_r): New function.
	* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
	Change to also handle af==AF_UNSPEC.
	(get_tablename): New function.  Use it to avoid duplication.
	(_nss_nisplus_gethostbyname4_r): New function.
	* nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is
	available.
	* nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r.
	* nss/nss.h: Define struct gaih_addrtuple.
	* nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle
	af==AF_UNSPEC.
	(_nss_files_gethostbyname4_r): New function.
	* resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r.
	* resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery
	calls.
	* resolv/res_query.c (__libc_res_nquery): Take two additional
	parameters for second answer buffer.  Handle type=T_UNSPEC to mean
	look up IPv4 and IPv6.
	Change all callers.
	* resolv/res_send.c (__libc_res_nsend): Take five aditional parameters
	for an additional query and answer buffer.  Pass to send_vc and
	send_dg.
	(send_vc): Send possibly two requests and receive two answers.
	(send_dg): Likewise.
	* resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and
	__libc_res_nquery.
	(_nss_dns_gethostbyname4_r): New function.
	(gaih_getanswer_slice): Likewise.
	(gaih_getanswer): Likewise.
	* resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust
	__libc_res_nquery call.
	* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
	(_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call.
	* sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is
	available.
2008-05-10 23:27:39 +00:00
..
nss_compat Remove useless "if" before "free". 2008-03-19 06:43:34 +00:00
nss_nis * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend 2008-05-10 23:27:39 +00:00
nss_nisplus * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend 2008-05-10 23:27:39 +00:00
rpcsvc * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. 2007-03-21 20:24:59 +00:00
Depend Update. 1998-11-30 16:42:19 +00:00
libnsl.h * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer 2006-05-24 04:07:18 +00:00
Makefile * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS 2006-10-06 17:49:27 +00:00
nis_add.c Update. 2004-10-24 20:29:20 +00:00
nis_addmember.c * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. 2006-05-25 17:16:17 +00:00
nis_call.c * nis/nis_call.c (nis_server_cache_search): Save errno around stat 2008-03-24 19:28:00 +00:00
nis_callback.c * nis/nis_callback.c (__nis_create_callback): Always call xdr_free 2006-05-25 15:52:21 +00:00
nis_checkpoint.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
nis_clone_dir.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
nis_clone_obj.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
nis_clone_res.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
nis_creategroup.c * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. 2006-05-10 06:39:15 +00:00
nis_defaults.c * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. 2006-10-11 16:29:13 +00:00
nis_destroygroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nis_domain_of_r.c * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer 2006-05-24 04:07:18 +00:00
nis_domain_of.c * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more 2007-06-22 17:01:29 +00:00
nis_error.c * nis/nis_error.c: Remove table of strings. Use position 2006-05-11 20:29:20 +00:00
nis_error.h * nis/nis_error.c: Remove table of strings. Use position 2006-05-11 20:29:20 +00:00
nis_file.c * nis/nis_file.c: Rewrite the two pairs of functions into wrappers 2005-07-28 07:10:28 +00:00
nis_findserv.c Update. 2001-12-13 03:40:19 +00:00
nis_free.c Update. 2004-10-24 20:29:20 +00:00
nis_getservlist.c * io/fts.c (fts_build): Call fts_lfree in the two error cases 2006-04-08 19:35:24 +00:00
nis_hash.c Update. 2004-09-08 15:46:42 +00:00
nis_intern.h * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer 2006-05-24 04:07:18 +00:00
nis_ismember.c * nis/nis_ping.c: Remove unnecessary conditionals before 2006-04-08 20:28:00 +00:00
nis_local_names.c * elf/ldconfig.c (main): Use rawmemchr instead of strchr. 2006-04-07 07:02:20 +00:00
nis_lookup.c * nis/nis_domain_of.c (__nis_domain_of): New function. 2007-04-19 14:28:01 +00:00
nis_mkdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nis_modify.c Update. 2004-10-24 20:29:20 +00:00
nis_ping.c * nis/nis_ping.c: Remove unnecessary conditionals before 2006-04-08 20:28:00 +00:00
nis_print_group_entry.c . 2007-07-31 13:33:18 +00:00
nis_print.c Update. 2004-10-24 20:29:20 +00:00
nis_remove.c Update. 2004-10-24 20:29:20 +00:00
nis_removemember.c * nis/nis_removemember.c (nis_removemember): Avoid unnecessary 2006-05-25 18:31:29 +00:00
nis_rmdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nis_server.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nis_subr.c * nscd/selinux.c (preserve_capabilities): Initialize new_caps 2007-07-28 20:44:03 +00:00
nis_table.c * nis/nis_table.c (nis_list): Don't fail if __follow_path returned 2007-08-22 16:04:18 +00:00
nis_util.c Update. 2004-10-24 20:29:20 +00:00
nis_verifygroup.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nis_xdr.c * nis/nis_xdr.c (_xdr_nis_server): Work around gcc alias warning. 2007-08-26 02:06:10 +00:00
nis_xdr.h * nis/nis_call.c (__prepare_niscall): New function. Split out 2006-05-20 19:22:30 +00:00
nisplus-parser.h * nis/nis_call.c (__prepare_niscall): New function. Split out 2006-05-20 19:22:30 +00:00
nss * nis/nss-default.c (vars): Add SETENT_BATCH_READ. 2006-04-28 21:08:22 +00:00
nss-default.c [BZ #4702] 2007-07-03 14:49:53 +00:00
nss-nis.c * nis/Makefile (libnsl-routimes): Add nss-default. 2006-04-14 05:51:51 +00:00
nss-nis.h * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. 2006-05-10 17:27:03 +00:00
nss-nisplus.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nss-nisplus.h * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. 2006-05-10 17:27:03 +00:00
Versions * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend 2008-05-10 23:27:39 +00:00
yp_xdr.c * nis/nis_xdr.c (_xdr_nis_server): Work around gcc alias warning. 2007-08-26 02:06:10 +00:00
ypclnt.c [BZ #5854] 2008-03-04 00:28:04 +00:00
ypupdate_xdr.c * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. 2006-05-12 02:46:18 +00:00