Home | History | Annotate | Download | only in rpc
History log of /src/lib/libc/rpc/rpc_soc.c
RevisionDateAuthorComments
 1.24  23-Jan-2024  christos fix nested extern warnings
 1.23  13-Nov-2015  christos Generalize the test, compare on the protocol semantics instead of the name
since it could be udp6...
 1.22  13-Nov-2015  tron Don't try to use listen(2) on a UDP socket which will always fail.
Previously this was not a problem because the return value of listen(2)
was ignored. With this fix amd(8) no longer fails to start with the
error message "cannot create rpc/udp service".

TL;DR: Make amd(8) work again
 1.21  10-Nov-2015  christos fix compilation/lint
 1.20  10-Nov-2015  christos CID 1338513: Check listen(2) return
 1.19  28-May-2014  christos CID 97511{4,5}: Ignore bindresvport return. It only works for root.
 1.18  11-Mar-2013  tron branches: 1.18.6;
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.17  05-Mar-2013  christos make this usable from RUMP
 1.16  25-Jun-2012  abs branches: 1.16.2;
Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.15  24-Jun-2012  christos fix old style definitions; XXX: gcc should have picked them up but it did not.
 1.14  20-Mar-2012  matt Use C89 definitions
Remove use of __P
 1.13  08-Dec-2010  joerg branches: 1.13.6; 1.13.8;
Use __isthreaded from reentrant.h and don't redeclare it.
 1.12  29-Nov-2005  christos WARNS=4
 1.11  09-Sep-2003  itojun __RCSID police
 1.10  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.9  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.8  04-Nov-2001  lukem branches: 1.8.2;
fix WARNS=2 (-Wshadow) warnings
 1.7  04-Jan-2001  lukem branches: 1.7.2;
sprinkle _DIAGASSERT() appropriately. minor other cleanups
 1.6  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.5  07-Jun-2000  fvdl branches: 1.5.4;
Always do a listen() in the old svctcp_create backward compat code.
 1.4  04-Jun-2000  thorpej Need <string.h> for LP64 systems.
 1.3  03-Jun-2000  fvdl Add missing weak alias for svcfd_create.
 1.2  03-Jun-2000  fvdl Fix typo in weak alias, causing unresolved externals.
 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.5.4.2  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.5.4.1  07-Jun-2000  minoura file rpc_soc.c was added on branch minoura-xpg4dl on 2000-06-23 16:17:47 +0000
 1.7.2.3  11-Nov-2002  nathanw Catch up to -current
 1.7.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.7.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.8.2.1  06-Jan-2003  jmc Pull up revisions 1.8-1.9 (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.13.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.13.6.3  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.13.6.2  30-Oct-2012  yamt sync with head
 1.13.6.1  17-Apr-2012  yamt sync with head
 1.16.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.2.1  23-Jun-2013  tls resync from head
 1.18.6.1  10-Aug-2014  tls Rebase.

RSS XML Feed