Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove NULL-checks before free() and a few related dead assignments. | 2015-12-28 | 1 | -3/+2 | |
| | | | | ok and valuable input from millert@ | ||||
* | update NAME section to include all documented functions, | 2015-11-10 | 2 | -6/+6 | |
| | | | | | | or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | ||||
* | delete old lint ARGSUSED comments | 2015-11-01 | 11 | -38/+11 | |
| | |||||
* | user land -> userland; from Rob Pierce | 2015-10-05 | 1 | -2/+2 | |
| | |||||
* | __xdrrec_getrec is in the reserved namespace, so it doesn't need to be weak | 2015-10-04 | 1 | -2/+2 | |
| | |||||
* | use .Va for global variables, and .Vt where the type is included | 2015-09-14 | 1 | -44/+37 | |
| | |||||
* | Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internal | 2015-09-14 | 1 | -1/+3 | |
| | | | | calls go direct and all the symbols are weak | ||||
* | Wrap <rpc/*.h> so that calls go direct and the symbols are all weak. | 2015-09-13 | 25 | -33/+106 | |
| | | | | | | Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h> ok deraadt@ | ||||
* | lseek() is in <unistd.h> ok deraadt@ | 2015-09-11 | 1 | -1/+2 | |
| | |||||
* | _rpc_dtablesize() is not used anywhere, tracking by sthen; ok guenther | 2015-09-11 | 2 | -52/+2 | |
| | |||||
* | rpcdata should not be exported; ok guenther | 2015-09-11 | 1 | -2/+2 | |
| | |||||
* | Use SOCK_NONBLOCK in a couple more places | 2015-09-09 | 1 | -22/+3 | |
| | | | | ok deraadt@ | ||||
* | Delete 3 more stderr messages, right before returning a proper error. | 2015-09-02 | 3 | -6/+6 | |
| | | | | Code from way in the past. | ||||
* | do not printf() on error from libc; ok millert | 2015-09-02 | 1 | -3/+1 | |
| | |||||
* | Remove all bogus writes to stderr. Only explicit requests should | 2015-09-01 | 10 | -70/+23 | |
| | | | | | go that way. ok miod beck | ||||
* | Remove calls to perror(); the error returns are sufficient, and these | 2015-09-01 | 3 | -27/+7 | |
| | | | | | library may not assume stderr is useable. ok millert miod beck | ||||
* | All these files include <stdlib.h>, so do not need to cast | 2015-08-20 | 9 | -19/+19 | |
| | | | | malloc/calloc/realloc* returns. | ||||
* | swap calloc() arguments for clarity | 2015-05-18 | 1 | -2/+2 | |
| | |||||
* | Use fcntl() to set non-blocking-mode, rather ioctl(). This has a better | 2015-05-17 | 1 | -4/+20 | |
| | | | | | chance of working in systrace restricted environments. ok guenther | ||||
* | Use the size of the buffer not the pointer in a call to mem_free(). | 2015-05-04 | 1 | -2/+2 | |
| | | | | ok miod@ and guenther@ who both pointed out this argument is unused. | ||||
* | Cut the aliases part of /etc/rpc lines before feeding them to strtonum(), for | 2015-04-25 | 1 | -6/+7 | |
| | | | | it will fail otherwise; ok deraadt@ millert@ | ||||
* | Convert many atoi() calls to strtonum(), adding range checks and failure | 2015-04-18 | 1 | -2/+6 | |
| | | | | | handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | ||||
* | Move to the <limits.h> universe. | 2015-01-16 | 4 | -11/+7 | |
| | | | | review by millert, binary checking process with doug, concept with guenther | ||||
* | Merge from NetBSD from 1999-03-25:" | 2014-11-11 | 7 | -29/+26 | |
| | | | | | | | | | | | | * don't close the socket unless it was opened by the function * note (in the comments) that the client is responsible for closing the socket if they opened it, or they didn't use CLNT_DESTROY() fixes a couple of unnecessary closing of already-closed sockets. noted by: Matthias Drochner <M.Drochner@fz-juelich.de>" tested by many in snaps ok schwarze@ | ||||
* | missing pfd = newp, diagnosed by deraadt@ | 2014-11-05 | 1 | -1/+2 | |
| | |||||
* | Fix memory leak on reallocarray() failure introduced by conversion | 2014-11-04 | 1 | -4/+6 | |
| | | | | from calloc(). | ||||
* | Remove unnecessary netinet/in_systm.h include. | 2014-10-25 | 1 | -2/+1 | |
| | | | | ok millert@ | ||||
* | We prefer to use call reallocarray() with nmemb first and size second. | 2014-10-22 | 1 | -2/+2 | |
| | | | | Requested by guenther@ | ||||
* | Use reallocarray() instead of calloc() (originally was realloc). | 2014-10-22 | 1 | -3/+2 | |
| | | | | OK deraadt@ | ||||
* | obvious conversion of realloc() to reallocarray(). Luckily this is | 2014-10-08 | 1 | -2/+2 | |
| | | | | | using pollfd, because if this was fd_set... it would not be obvious (or easy) | ||||
* | When fopen()ing internal to libc (the API doesn't support the use | 2014-09-15 | 1 | -3/+3 | |
| | | | | | | | of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@ | ||||
* | Switch from <sys/endian.h> or <machine/endian.h> to the new, | 2014-07-21 | 1 | -2/+2 | |
| | | | | | | being-standardized <endian.h> ok deraadt@ millert@ beck@ | ||||
* | lint is dead (long live the lint!), so stop using it as a cpp conditional | 2014-03-16 | 1 | -7/+1 | |
| | | | | | | (namespace pollution!) or talking about its opinion on code. ok krw@ | ||||
* | obvious .Pa fixes; found with mandocdb(8) | 2014-01-21 | 1 | -3/+3 | |
| | |||||
* | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | 2013-11-26 | 1 | -2/+2 | |
| | | | | | resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | ||||
* | bring in proto | 2013-11-13 | 1 | -1/+2 | |
| | |||||
* | insert the proper arguments into a prototype | 2013-11-12 | 1 | -2/+2 | |
| | |||||
* | pull in missing includes (math.h, unistd.h, stdlib.h) needed for | 2013-11-12 | 1 | -1/+2 | |
| | | | | prototypes | ||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | 2013-06-05 | 6 | -20/+20 | |
| | |||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 1 | -1/+2 | |
| | | | | silence some warnings. | ||||
* | Replace a realloc() + memcpy() with calloc() + memcpy(). | 2013-04-16 | 1 | -6/+5 | |
| | | | | | We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@ | ||||
* | Back out r1.17 and its subsequent conversion to poll. Otherwise | 2013-04-15 | 1 | -27/+6 | |
| | | | | | | | we can get into a svc_getreq_poll() -> readtcp() -> svc_getreq_poll() loop until we run out of stack. If we want to avoid blocking on the new fd in readtcp() we need to poll() in svc_getreq_poll(), which will require a more elaborate change. OK tedu@ | ||||
* | handle ECONNABORTED errors from accept(). In many code blocks they can be | 2013-03-11 | 1 | -2/+3 | |
| | | | | | ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | ||||
* | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | 2012-09-27 | 3 | -30/+30 | |
| | | | | references into a STANDARDS section; | ||||
* | Drop the rpcauth(3) MLINK, there is no function of that name. | 2012-03-04 | 3 | -14/+14 | |
| | | | | Joint work with and OK haesbaert@ jmc@ | ||||
* | Fix several manpage titles, from Lawrence Teo. | 2012-02-26 | 1 | -3/+3 | |
| | | | | ok dcoppa@ jmc@ schwarze@. | ||||
* | At some point we've switched to the VFP floating-point--unlike FPA | 2011-07-26 | 1 | -3/+3 | |
| | | | | | | | | | it actually stores floats in natural-endian--therefore the existing checks became wrong. Take into account __VFP_FP__, effectively bringing back the old behavior. This way it will work now, and in the future when some of our platforms are switched to FPA, where it's much faster. | ||||
* | Assumptions about floating-point word order based on BYTE_ORDER are | 2011-07-26 | 1 | -3/+3 | |
| | | | | | wrong on ARM. A more elegant solution is pending, but this is good for now. OK miod@. | ||||
* | - the nroff workaround is no longer needed | 2010-10-29 | 1 | -19/+22 | |
| | | | | - use some Fn and \*(Gt | ||||
* | do not use .B, which is man(7), not mdoc(7); and stop .Tn abuse | 2010-09-07 | 4 | -357/+142 | |
| | | | | feedback and ok jmc@, ok millert@ |