Home | History | Annotate | Download | only in rpc
History log of /src/lib/libc/rpc/rpcb_clnt.c
RevisionDateAuthorComments
 1.32  23-Jan-2024  christos fix nested extern warnings
 1.31  26-Mar-2015  justin Fix definitions to match headers
 1.30  02-Jan-2014  christos don't lose the RPC error from CLNT_CALL.
 1.29  11-Mar-2013  tron Replace previous Sun Microsystems, Inc. license with a standard
BSD 3-clause license granted by Oracle America, Inc..
This license change was approved by Wim Coekaerts, Senior Vice President,
Linux and Virtualization at Oracle Corporation.

This fixes PR lib/45293 by Pedro Giffuni.
 1.28  05-Mar-2013  christos make this usable from RUMP
 1.27  20-Mar-2012  matt branches: 1.27.2;
Use C89 definitions
Remove use of __P
 1.26  13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.25  23-Mar-2010  drochner branches: 1.25.6; 1.25.8;
remove some stray __weak_aliases, where the target functions were
__RENAMEd due to the time_t/dev_t type changes, which caused bogus
references to compat functions
now a libc built with BUILDCOLD is usable
 1.24  25-Jul-2008  christos branches: 1.24.6;
fix gcc warnings from Alexander Shishkin
 1.23  25-Apr-2008  dogcow branches: 1.23.2;
make this compile again. (hi, xtos!)
 1.22  25-Apr-2008  christos - always check malloc results
- don't leak fds on error
- don't cast malloc
- don't cast NULL
 1.21  19-Mar-2006  christos branches: 1.21.18;
Coverity CID 710: Remove unreachable code.
 1.20  19-Mar-2006  christos Coverity CID 2284: Fix multiple memory leaks.
 1.19  03-Dec-2005  yamt - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.18  29-Nov-2005  christos WARNS=4
 1.17  07-Jun-2005  he Initialize a variable to appease -Wuninitialized.
Marked with XXXGCC for dreamcast (found while compiling for it).

Reviewed by lukem.
 1.16  01-Jun-2005  lukem appease gcc -Wuninitialized
 1.15  21-Oct-2003  fvdl Don't compare NULL against a character.
 1.14  09-Sep-2003  itojun __RCSID police
 1.13  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.12  08-Nov-2002  fvdl * Adapt include files for rpc_com.h/rpc_internal.h split.
* Add rpc_control to svc.c
* Implement non-blocking connections.
 1.11  02-Oct-2002  yamt add missing __rpc_fixup_addr.
it's needed to make mount_nfs -T work for scoped addresses.
 1.10  04-Nov-2001  lukem branches: 1.10.2;
Close socket correctly in three places.
Fixes various problems such as inetd not reloading correctly.
Fix provided by Michael van Elst in [lib/14454] - thanks!
Should also fix [bin/12651] and [bin/13657]
 1.9  27-Sep-2001  jdolecek Fix !INET6 build. Noted by Bruno Clermont on tech-userlevel@
 1.8  04-Jan-2001  lukem branches: 1.8.2;
sprinkle _DIAGASSERT() appropriately. minor other cleanups
 1.7  20-Dec-2000  christos remove redundant declarations.
 1.6  16-Jul-2000  itojun correct delint mistake (missing "&").
may fix recent rpc/nfs-related PRs, including 10579 and 10601.
 1.5  14-Jul-2000  fvdl Use rpcvers_t, not long, for some variables holding version numbers. They
were sometimes passed by reference, creating problems on 64bit be systems.
 1.4  06-Jul-2000  christos add __RPC_GETXID macro
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
 1.3  11-Jun-2000  assar branches: 1.3.2; 1.3.4;
syslog an error if /etc/netconfig is not found. fixes lib/10275
 1.2  07-Jun-2000  fvdl Set the error code sanely in a few cases.

When connecting to a version 2 portmapper, don't use the "udp" nettype,
since that includes udp on ipv6, but just use the "udp" netconfig entry
directly.
 1.1  02-Jun-2000  fvdl Add new RPC code, based on Sun's TI-RPC code. Adapted to not use XTI,
but sockets instead, internally. Old, backward compatible interfaces
maintained.
 1.3.4.2  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.3.4.1  11-Jun-2000  minoura file rpcb_clnt.c was added on branch minoura-xpg4dl on 2000-06-23 16:17:49 +0000
 1.3.2.2  25-Nov-2001  he Pull up revision 1.10 (requested by lukem):
Close socket correctly in three places. Fixes various problems
such as inetd not reloading correctly. Fixes PR#14454, PR#12651,
and PR#13657.
 1.3.2.1  14-Jul-2000  fvdl Pullup from trunk: use explicit 32 bit operations and types where
appropriate, to make things work on 64bit BE systems.
 1.8.2.5  11-Nov-2002  nathanw Catch up to -current
 1.8.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.8.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.8.2.2  08-Oct-2001  nathanw Catch up to -current.
 1.8.2.1  08-Aug-2001  nathanw Convert to our threading style.
__REENT -> _REENTRANT
Statically initialize mutexes.
Use pthread thread-specific data semantics and once_t instead of Sun thread
semantics.
Use __isthreaded to detect presence of thread universe instead of _thr_main().
 1.10.2.2  06-Jan-2003  jmc Pull up revisions 1.11-1.12 (requested by fvdl in ticket #1037)
* Adapt include files for rpc_com.h/rpc_internal.h split.
* Implement non-blocking connections.
* Add rpc_control to svc.c
 1.10.2.1  07-Dec-2002  he Pull up revision 1.11 (requested by yamt in ticket #924):
Add missing __rpc_fixup_addr. This is needed to make
mount_nfs -T work for scoped addresses.
 1.21.18.1  18-May-2008  yamt sync with head.
 1.23.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.24.6.2  25-Jul-2008  christos fix gcc warnings from Alexander Shishkin
 1.24.6.1  25-Jul-2008  christos file rpcb_clnt.c was added on branch christos-time_t on 2008-07-25 14:05:26 +0000
 1.25.8.1  14-Mar-2013  riz Pull up following revision(s) (requested by tron in ticket #843):
lib/libc/rpc/clnt_dg.c: revision 1.28
lib/libc/rpc/xdr_sizeof.c: revision 1.5
lib/libc/rpc/pmap_getport.c: revision 1.19
lib/libc/rpc/xdr_mem.c: revision 1.19
lib/libc/rpc/svc_run.c: revision 1.22
lib/libc/rpc/bindresvport.c: revision 1.25
lib/libc/rpc/svc_raw.c: revision 1.24
lib/libc/rpc/svc_dg.c: revision 1.17
lib/libc/rpc/getnetconfig.c: revision 1.21
lib/libc/rpc/auth_unix.c: revision 1.25
lib/libc/rpc/svc_auth.c: revision 1.17
lib/libc/rpc/clnt_vc.c: revision 1.21
lib/libc/rpc/svc_auth_unix.c: revision 1.21
lib/libc/rpc/rpcb_st_xdr.c: revision 1.10
lib/libc/rpc/pmap_getmaps.c: revision 1.18
lib/libc/rpc/getnetpath.c: revision 1.17
lib/libc/rpc/clnt_simple.c: revision 1.32
lib/libc/rpc/authunix_prot.c: revision 1.16
lib/libc/rpc/svc_dg.h: revision 1.2
lib/libc/rpc/svc_generic.c: revision 1.15
lib/libc/rpc/clnt_raw.c: revision 1.32
lib/libc/rpc/xdr_array.c: revision 1.19
lib/libc/rpc/pmap_prot.c: revision 1.12
lib/libc/rpc/clnt_bcast.c: revision 1.26
lib/libc/rpc/xdr_rec.c: revision 1.35
lib/libc/rpc/svc.c: revision 1.34
lib/libc/rpc/DISCLAIMER: revision 1.3
lib/libc/rpc/clnt_generic.c: revision 1.30
lib/libc/rpc/xdr.c: revision 1.33
lib/libc/rpc/auth_none.c: revision 1.16
lib/libc/rpc/pmap_rmt.c: revision 1.34
lib/libc/rpc/rpc_callmsg.c: revision 1.20
lib/libc/rpc/clnt_perror.c: revision 1.30
lib/libc/rpc/xdr_stdio.c: revision 1.19
lib/libc/rpc/rpc_commondata.c: revision 1.9
lib/libc/rpc/pmap_prot2.c: revision 1.17
lib/libc/rpc/pmap_clnt.c: revision 1.19
lib/libc/rpc/svc_simple.c: revision 1.33
lib/libc/rpc/rpcb_clnt.c: revision 1.29
lib/libc/rpc/rpc_prot.c: revision 1.21
lib/libc/rpc/rpc_dtablesize.c: revision 1.16
lib/libc/rpc/rpc_generic.c: revision 1.28
lib/libc/rpc/xdr_reference.c: revision 1.18
lib/libc/rpc/rpc_soc.c: revision 1.18
lib/libc/rpc/svc_vc.c: revision 1.30
lib/libc/rpc/getrpcent.c: revision 1.23
lib/libc/rpc/xdr_float.c: revision 1.38
lib/libc/rpc/rpcb_prot.c: revision 1.11
lib/libc/rpc/getrpcport.c: revision 1.18
Replace previous Sun Microsystems, Inc. license with a standard
BSD 3-clause license granted by Oracle America, Inc..
This license change was approved by Wim Coekaerts, Senior Vice President,
Linux and Virtualization at Oracle Corporation.
This fixes PR lib/45293 by Pedro Giffuni.
 1.25.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.25.6.1  17-Apr-2012  yamt sync with head
 1.27.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.2.1  23-Jun-2013  tls resync from head

RSS XML Feed