summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_run.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove calls to perror(); the error returns are sufficient, and thesederaadt2015-09-011-3/+1
| | | | | library may not assume stderr is useable. ok millert miod beck
* missing pfd = newp, diagnosed by deraadt@sthen2014-11-051-1/+2
|
* Fix memory leak on reallocarray() failure introduced by conversionmillert2014-11-041-4/+6
| | | | from calloc().
* We prefer to use call reallocarray() with nmemb first and size second.millert2014-10-221-2/+2
| | | | Requested by guenther@
* Use reallocarray() instead of calloc() (originally was realloc).millert2014-10-221-3/+2
| | | | OK deraadt@
* Replace a realloc() + memcpy() with calloc() + memcpy().millert2013-04-161-6/+5
| | | | | We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@
* Oracle has re-licensed sunrpc under a three-clause BSD license.millert2010-09-011-27/+30
| | | | Update our sources appropriately. OK deraadt@ jsg@
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-211-2/+2
| | | | OK deraadt@
* 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-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansify. ok deraadt@ jaredy@otto2005-04-011-2/+2
|
* Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)millert2003-12-311-29/+20
| | | | | | | | | 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@
* 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.
* 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-161-2/+2
|
* mark some places that malloc is not checkedderaadt1999-11-231-2/+2
|
* Some -Wallmillert1998-03-191-1/+4
|
* memcpy needs string.h.etheisen1996-11-141-1/+2
|
* Remove dead codetholo1996-09-151-1/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* memset 0; also fix for byte order botch in __svc_fdset handling; thanks to mw@openbsd.orgderaadt1996-08-201-4/+5
|
* deal with unintializated __svc_fdsetderaadt1996-08-201-6/+13
|
* Fix RCS idstholo1996-08-191-7/+2
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* support descriptors > FD_SETSIZE and correct timeout handlingderaadt1996-08-151-7/+14
|
* bcopy->memcpy & tagderaadt1996-07-201-1/+2
|
* Pull prototypes into scopetholo1996-03-251-1/+2
| | | | Remove graticious casts
* initial import of NetBSD treederaadt1995-10-181-0/+66