History log of /openbsd-current/lib/libc/rpc/svc_run.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.25 01-Sep-2015 deraadt

Remove calls to perror(); the error returns are sufficient, and these
library may not assume stderr is useable.
ok millert miod beck


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.24 05-Nov-2014 sthen

missing pfd = newp, diagnosed by deraadt@


# 1.23 04-Nov-2014 millert

Fix memory leak on reallocarray() failure introduced by conversion
from calloc().


# 1.22 22-Oct-2014 millert

We prefer to use call reallocarray() with nmemb first and size second.
Requested by guenther@


# 1.21 22-Oct-2014 millert

Use reallocarray() instead of calloc() (originally was realloc).
OK deraadt@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.20 16-Apr-2013 millert

Replace a realloc() + memcpy() with calloc() + memcpy().
We don't need to zero pfd but using calloc() gets us overflow
protection for free. OK chl@ deraadt@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.19 01-Sep-2010 millert

Oracle has re-licensed sunrpc under a three-clause BSD license.
Update our sources appropriately. OK deraadt@ jsg@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
# 1.18 21-Dec-2005 millert

Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@


# 1.17 10-Sep-2005 brad

Use realloc() instead of malloc().

From: Alexander dot Farber at gmail dot com

ok deraadt@


Revision tags: OPENBSD_3_8_BASE
# 1.16 08-Aug-2005 espie

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 1.15 01-Apr-2005 otto

ansify. ok deraadt@ jaredy@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.14 31-Dec-2003 millert

Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)
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@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.13 03-Aug-2002 millert

If malloc() fails, perror() and return. This is non-optimal but because
svr_run() is void we have no way to pass back error status.


Revision tags: OPENBSD_3_1_BASE
# 1.12 16-Feb-2002 millert

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.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.11 23-Nov-1999 deraadt

mark some places that malloc is not checked


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE
# 1.10 19-Mar-1998 millert

Some -Wall


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.9 14-Nov-1996 etheisen

memcpy needs string.h.


Revision tags: OPENBSD_2_0_BASE
# 1.8 15-Sep-1996 tholo

Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend


# 1.7 20-Aug-1996 deraadt

memset 0; also fix for byte order botch in __svc_fdset handling; thanks to mw@openbsd.org


# 1.6 20-Aug-1996 deraadt

deal with unintializated __svc_fdset


# 1.5 19-Aug-1996 tholo

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1.4 15-Aug-1996 deraadt

support descriptors > FD_SETSIZE and correct timeout handling


# 1.3 20-Jul-1996 deraadt

bcopy->memcpy & tag


# 1.2 25-Mar-1996 tholo

Pull prototypes into scope
Remove graticious casts


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision