summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* user land -> userland; from Rob Piercederaadt2015-10-051-2/+2
|
* Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.guenther2015-09-131-1/+12
| | | | | | Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h> ok deraadt@
* All these files include <stdlib.h>, so do not need to castderaadt2015-08-201-2/+2
| | | | malloc/calloc/realloc* returns.
* obvious conversion of realloc() to reallocarray(). Luckily this isderaadt2014-10-081-2/+2
| | | | | using pollfd, because if this was fd_set... it would not be obvious (or easy)
* Oracle has re-licensed sunrpc under a three-clause BSD license.millert2010-09-011-29/+30
| | | | Update our sources appropriately. OK deraadt@ jsg@
* Keep all bits of __svc_fdset up to date, not just those beyond FD_SETSIZE.schwarze2009-12-141-3/+3
| | | | | | | Bug found while auditing the same complaint by parfait, see the previous commit; still not shutting parfait up. "wow, that's nasty" deraadt@
* __svc_fdsetsize is counted in bits, not in array elementsschwarze2009-12-111-2/+2
| | | | | | | | | | When exceeding fd 1024, this bug cleared flag bits for all file descriptors except those <= 64. Found while auditing a (false positive) complaint by parfait. This bugfix does not shut parfait up, though. OK millert@ deraadt@
* use calloc() to provide size * nitems safetyderaadt2009-06-051-3/+2
|
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-211-2/+2
| | | | 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-53/+21
|
* alyte spelling-in-comment fixesjolan2005-02-171-2/+2
|
* Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointedkrw2005-01-081-10/+9
| | | | | | out by mickey@, seconded by millert@. ok deraadt@.
* Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)millert2003-12-311-109/+251
| | | | | | | | | 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@
* 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
|
* prototype cleanupderaadt2001-09-151-17/+17
|
* plug many memory leaksderaadt2001-03-031-3/+17
|
* mark some places that malloc is not checkedderaadt1999-11-231-1/+3
|
* __svc_fdsetsize is a max bitcount; like FDSETSIZE before itderaadt1998-02-251-2/+2
|
* Some -Wall.millert1997-09-221-2/+2
|
* delete extra spacesderaadt1997-03-291-7/+7
|
* Remove dead codetholo1996-09-151-3/+3
| | | | | | 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-12/+24
|
* 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-13/+46
|
* bcopy->memcpy & tagderaadt1996-07-201-1/+2
|
* need string.hderaadt1996-05-221-2/+3
|
* clear xports after allocating it; netbsd pr#2194; from ragge@my28.sm.luth.sederaadt1996-05-041-0/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+451