summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* internal API newgetbroadcastnets() does not need a sockderaadt2006-03-311-5/+3
|
* Include param.h for MAXHOSTNAMELENmillert2006-01-171-4/+5
|
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-214-8/+8
| | | | OK deraadt@
* Make xdrstdio_getlong() and xdrstdio_putlong() work on 64-bit big-endiankettenis2005-10-301-7/+6
| | | | | systems. From NetBSD and FreeBSD. ok deraadt@, otto@, "looks correct to me" fgsch@
* Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.espie2005-10-101-2/+1
| | | | | Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
* some fixes to the .Nm list:jmc2005-10-021-2/+4
| | | | | - remove duplicate entry for clntudp_create - add missing entries for svc_{destroy,fds,run}
* Use realloc() instead of malloc().brad2005-09-101-5/+6
| | | | | | From: Alexander dot Farber at gmail dot com ok deraadt@
* zap remaining rcsid.espie2005-08-0837-149/+37
| | | | | | Kill old files that are no longer compiled. okay theo
* impelmentation -> implementationespie2005-08-053-6/+6
| | | | yes, new typo for an old friend.
* kernal->kernel;jmc2005-08-012-4/+4
| | | | | from netbsd pr #30872 (anonymous post); ok deraadt@ krw@
* - sync prototypes and header excerpts to realityjaredy2005-07-221-2/+2
| | | | | | | - punctuation, rewording, typos/spelling, macro, and layout fixes - add crossrefs where relevant ok jmc
* Do not define 'pl' globally. From Bjorn Sandell" <biorn at dce dot chalmersotto2005-04-251-3/+3
| | | | dot se>. ok deraadt@
* more snprintf return value sloppiness; ok ottoderaadt2005-04-111-3/+7
|
* ansify. ok deraadt@ jaredy@otto2005-04-0138-692/+326
|
* - correct include file (from david leonard, pr 4147)jmc2005-03-151-4/+4
| | | | | | | - r_number is type int, not long - lessen display indent to avoid line split ok deraadt@ millert@
* alyte spelling-in-comment fixesjolan2005-02-171-2/+2
|
* Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointedkrw2005-01-0812-49/+48
| | | | | | out by mickey@, seconded by millert@. ok deraadt@.
* Ensure that 'addrs' is always initialized before use (from Yamamotokrw2004-12-171-11/+8
| | | | | | | | | | | Takashi). If no broadcast networks are found then just return RPC_CANTSEND. Eliminate perror() calls (suggested by Yamamoto Takashi and seconded by deraadt@, otto@ and millert@) and just let return values speak. ok millert@
* De-reference pointer *after* checking if it is NULL.krw2004-12-161-5/+9
| | | | ok millert@.
* spacingderaadt2004-09-141-3/+1
|
* typo from Jared Yanovich;jmc2004-04-281-2/+2
| | | | ok deraadt@
* s/arm32/arm/ with VFP bit to match netbsd.drahn2004-02-011-2/+2
|
* the rest of the libs stuff; from art@ againmickey2004-01-281-2/+2
|
* Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)millert2003-12-319-270/+463
| | | | | | | | | in the libc rpc code. The main difference between this and the previous version is the use of a simple free list that simplifies the logic when adding a socket to svc_pollfd. I've also added code to pack svc_pollfd when the free list gets too big. The idea general idea is to keep svc_pollfd as tightly packed as possible to make poll(2) efficient. Tested by many people and OK deraadt@
* incorrect ordering of free operationsderaadt2003-09-201-4/+4
|
* do not leak if mem_alloc failsderaadt2003-09-201-1/+4
|
* refer to RFCs consistently (RFC XXXX);jmc2003-08-082-4/+4
|
* remove some old groff macros and replace them with -mdoc ones;jmc2003-06-291-6/+9
|
* - whitespace at EOLjmc2003-05-306-24/+24
| | | | | - remove unnecessary macros - section reorder in getrpcent(3)
* this is all new code. copyright to downsj and myself who managed toderaadt2003-05-201-34/+22
| | | | erradicate the old stuff.
* typos;jmc2003-05-071-11/+12
|
* bindresvport() does not automatically select another port if themillert2003-04-111-30/+34
| | | | | | specified one is in use (closes PR 3192). While I am here, reorganize and clean up much of the wording. This now reads like a native speaker of English wrote it.
* some small typos;jmc2003-03-171-3/+3
|
* copyrights added;jmc2003-02-186-6/+168
| | | | these are all Sun Microsystems
* put my copyrights on herederaadt2003-02-141-2/+52
|
* Make x_handy in XDR u_int, not int since there are places in themillert2002-12-111-9/+15
| | | | | | | | code that assign a u_int value to x_handy. However, this means that we need to be careful checking for overflow as we can no longer subtract a value and check the result for < 0. We reorder the expression instead to avoid this problem (basic algebra). deraadt@ OK
* remove extra output of \n in clnt_perror()deraadt2002-09-101-2/+2
|
* use socklen_t where needed; henning pvalchev okderaadt2002-09-065-12/+13
|
* clean; gwyllion@ace.ulyssis.orgderaadt2002-08-291-2/+1
|
* do not lose errnoderaadt2002-08-221-1/+6
|
* tweakderaadt2002-08-222-8/+8
|
* If malloc() fails, perror() and return. This is non-optimal but becausemillert2002-08-031-2/+5
| | | | svr_run() is void we have no way to pass back error status.
* KNF and correct overflow fix; jhutz@cmu.eduderaadt2002-08-011-16/+11
|
* careful mallocderaadt2002-07-291-4/+6
|
* compatiblity -> compatibilityderaadt2002-06-031-2/+2
| | | | | | decriptor -> descriptor authentciated -> authenticated transmition -> transmission
* strlcat boundsderaadt2002-05-291-2/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-164-10/+10
|
* indentderaadt2002-02-131-3/+3
|
* label abort() from inside library as ILLEGALderaadt2002-01-022-7/+7
|
* cast a few more long's to int32_tjason2001-09-172-6/+6
|