glibc/sunrpc
Ulrich Drepper 384ca55174 * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with
gethstbynm3_r.
	* nscd/gethstbynm2_r.c: Remove.
	* nscd/gethstbynm3_r.c: New file.
	* nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of
	__gethostbyaddr_r.
	* nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function.  Define
	__gethostbyaddr_r compatibility wrapper.
	* nscd/hstcache.c (cache_addhst): Add ttl parameter.  Use it when
	determining timeout of entry.
	(lookup): Take new parameter and pass it to __gethostbyname3_r and
	__gethostbyaddr2_r.
	(addhstbyX): Pass reference to variable for TTL to lookup and
	cache_addhst.
	* nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2,
	__nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2,
	and __nss_next2.  Remove __nss_services_lookup.
	* nss/XXX-lookup.c: Name function now *_lookup2.  Add new parameter.
	Add compat wrapper.
	* nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and
	__nss_next2.
	* nss/getXXent_r.c: Likewise.
	* nss/getnssent_r.c: Likewise.
	* nss/nsswitch.c (__nss_lookup): Add new parameter.  If first function
	does not exist in module, try the optional second name.
	(__nss_next2): New function.
	(__nss_next): Now wrapper around __nss_next2.
	* nss/nsswitch.h: Adjust __nss_lookup prototype.
	Declare __nss_next2.
	Adjust definition of db_lookup_function type.
	* nss/service-lookup.c: Define NO_COMPAT.
	* include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r.
	* inet/ether_hton.c: Use __nss_next2 instead of __nss_next.
	* inet/ether_ntoh.c: Likewise.
	* sunrpc/netname.c: Likewise.
	* sunrpc/publickey.c: Likewise.
	* inet/getnetgrent.c: Likewise.  Adjust calls to __nss_lookup.
	* inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2.
	* inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise.
	* inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise.
	* inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise.

	* nscd/aicache.c (addhstaiX): Fix default TTL handling.

	* inet/getnetgrent.c (setup): Encrypt static pointer.
2007-10-30 00:48:09 +00:00
..
rpc Update. 2004-09-28 03:02:24 +00:00
rpcsvc Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
.cvsignore
auth_des.c * sunrpc/clnt_unix.c (unix_ops): Mark as const. 2005-12-20 22:56:06 +00:00
auth_none.c * sunrpc/auth_none.c (ops): Mark as const. 2005-12-20 19:00:19 +00:00
auth_unix.c . 2007-07-31 13:33:18 +00:00
authdes_prot.c Update. 2002-02-26 01:45:59 +00:00
authuxprot.c Update. 2002-02-26 01:45:59 +00:00
bindrsvprt.c * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport 2005-11-22 04:39:40 +00:00
clnt_gen.c Update. 2002-07-25 19:35:04 +00:00
clnt_perr.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
clnt_raw.c . 2007-07-31 13:33:18 +00:00
clnt_simp.c * include/rpc/rpc.h: Declare thread variables with their correct 2004-02-09 10:47:53 +00:00
clnt_tcp.c * sunrpc/clnt_unix.c (unix_ops): Mark as const. 2005-12-20 22:56:06 +00:00
clnt_udp.c (clntudp_call): Don't block in recvfrom call even if the poll result indicates there is data to read. 2007-10-18 22:23:57 +00:00
clnt_unix.c * sunrpc/clnt_unix.c (unix_ops): Mark as const. 2005-12-20 22:56:06 +00:00
create_xid.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
des_crypt.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
des_impl.c * sunrpc/svcauth_des.c (cache_init): Use calloc instead of 2006-05-05 16:18:45 +00:00
des_soft.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
etc.rpc Update. 2001-08-30 08:27:57 +00:00
get_myaddr.c Update. 2004-09-30 02:24:51 +00:00
getrpcport.c Update. 2001-08-20 06:37:56 +00:00
key_call.c * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if 2006-05-17 15:11:44 +00:00
key_prot.c * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. 2007-08-26 03:34:59 +00:00
Makefile [BZ #3313] 2006-10-18 19:26:30 +00:00
netname.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
openchild.c [BZ #681] 2005-01-19 19:28:21 +00:00
pm_getmaps.c . 2007-07-31 13:33:18 +00:00
pm_getport.c * sunrpc/pm_getport.c (__get_socket): New function. 2005-05-23 17:14:22 +00:00
pmap_clnt.c Update. 2004-09-30 02:24:51 +00:00
pmap_prot2.c Update. 2004-06-18 02:40:54 +00:00
pmap_prot.c Update. 2002-02-26 01:45:59 +00:00
pmap_rmt.c * include/rpc/pmap_prot.h: Mark all functions as hidden. 2006-05-15 20:46:12 +00:00
proto.h (main): Use return instead of exit to avoid warning. 2000-12-31 16:56:02 +00:00
publickey.c * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with 2007-10-30 00:48:09 +00:00
rpc_clntout.c .. 2005-11-21 15:45:19 +00:00
rpc_cmsg.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
rpc_common.c Update. 2001-03-20 18:35:13 +00:00
rpc_cout.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
rpc_dtable.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
rpc_hout.c .. 2005-11-21 15:45:19 +00:00
rpc_main.c . 2007-07-31 13:33:18 +00:00
rpc_parse.c * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min 2006-04-07 20:25:36 +00:00
rpc_parse.h
rpc_prot.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00
rpc_sample.c .. 2005-11-21 15:45:19 +00:00
rpc_scan.c * libio/fmemopen.c (fmemopen): Free stream memory in case of 2006-04-07 04:29:25 +00:00
rpc_scan.h Update. 2001-04-04 17:39:59 +00:00
rpc_svcout.c .. 2005-11-21 15:45:19 +00:00
rpc_tblout.c .. 2005-11-21 15:45:19 +00:00
rpc_thread.c * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire 2006-05-04 18:08:28 +00:00
rpc_util.c .. 2005-11-21 15:45:19 +00:00
rpc_util.h Update. 1998-02-16 17:42:46 +00:00
rpcinfo.c Update. 2001-09-19 03:25:37 +00:00
rtime.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
svc_auth.c Update. 2002-05-15 00:22:23 +00:00
svc_authux.c * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). 2002-08-12 02:02:20 +00:00
svc_raw.c * sunrpc/clnt_unix.c (unix_ops): Mark as const. 2005-12-20 22:56:06 +00:00
svc_run.c . 2007-07-31 13:33:18 +00:00
svc_simple.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
svc_tcp.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
svc_udp.c * sunrpc/svcauth_des.c (cache_init): Use calloc instead of 2006-05-05 16:18:45 +00:00
svc_unix.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
svc.c [BZ #5010] 2007-10-06 17:31:01 +00:00
svcauth_des.c * sunrpc/svcauth_des.c (cache_init): Use calloc instead of 2006-05-05 16:18:45 +00:00
thrsvc.c Update. 2002-10-14 18:10:15 +00:00
tst-getmyaddr.c Update. 2004-09-28 23:08:14 +00:00
tst-xdrmem2.c [BZ #3313] 2006-10-18 19:26:30 +00:00
tst-xdrmem.c * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR 2005-06-26 18:28:35 +00:00
Versions Update. 2004-09-28 03:02:24 +00:00
xcrypt.c [BZ #560, BZ #573] 2004-12-19 20:49:12 +00:00
xdr_array.c * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. 2006-05-04 20:56:12 +00:00
xdr_float.c Update. 1999-10-11 23:52:07 +00:00
xdr_intXX_t.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
xdr_mem.c [BZ #3313] 2006-10-18 19:26:30 +00:00
xdr_rec.c * nis/nis_call.c (__prepare_niscall): New function. Split out 2006-05-20 19:22:30 +00:00
xdr_ref.c * sunrpc/svcauth_des.c (cache_init): Use calloc instead of 2006-05-05 16:18:45 +00:00
xdr_sizeof.c * sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg 2002-12-16 02:05:55 +00:00
xdr_stdio.c * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong): 2005-03-22 09:14:36 +00:00
xdr.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00