Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-10 | fix a sentence that used unusual terminology, the wrong macro, | Ingo Schwarze | |
and broken delimiter syntax; found with mandoc -Tlint | |||
2017-01-21 | Nuke whitespace foolish enough to expose itself during the great | Kenneth R Westerback | |
"warning:" rectification. | |||
2016-12-20 | Add 'default:' cases to switch statements that gcc whines about. | Kenneth R Westerback | |
ok jung@ | |||
2016-09-23 | s/alloctaed/allocated/ in comment | Philip Guenther | |
2016-09-21 | Delete casts to off_t and size_t that are implied by assignments | Philip Guenther | |
or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@ | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2016-03-09 | We are done providing support for the vax. | Theo de Raadt | |
lots of agreement. | |||
2015-12-28 | Remove NULL-checks before free() and a few related dead assignments. | mmcc | |
ok and valuable input from millert@ | |||
2015-11-10 | update NAME section to include all documented functions, | Jason McIntyre | |
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | |||
2015-11-01 | delete old lint ARGSUSED comments | Philip Guenther | |
2015-10-05 | user land -> userland; from Rob Pierce | Theo de Raadt | |
2015-10-04 | __xdrrec_getrec is in the reserved namespace, so it doesn't need to be weak | Philip Guenther | |
2015-09-14 | use .Va for global variables, and .Vt where the type is included | Ingo Schwarze | |
2015-09-14 | Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internal | Philip Guenther | |
calls go direct and all the symbols are weak | |||
2015-09-13 | Wrap <rpc/*.h> so that calls go direct and the symbols are all weak. | Philip Guenther | |
Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h> ok deraadt@ | |||
2015-09-11 | lseek() is in <unistd.h> ok deraadt@ | Philip Guenther | |
2015-09-11 | _rpc_dtablesize() is not used anywhere, tracking by sthen; ok guenther | Theo de Raadt | |
2015-09-11 | rpcdata should not be exported; ok guenther | Theo de Raadt | |
2015-09-09 | Use SOCK_NONBLOCK in a couple more places | Philip Guenther | |
ok deraadt@ | |||
2015-09-02 | Delete 3 more stderr messages, right before returning a proper error. | Theo de Raadt | |
Code from way in the past. | |||
2015-09-02 | do not printf() on error from libc; ok millert | Theo de Raadt | |
2015-09-01 | Remove all bogus writes to stderr. Only explicit requests should | Theo de Raadt | |
go that way. ok miod beck | |||
2015-09-01 | Remove calls to perror(); the error returns are sufficient, and these | Theo de Raadt | |
library may not assume stderr is useable. ok millert miod beck | |||
2015-08-20 | All these files include <stdlib.h>, so do not need to cast | Theo de Raadt | |
malloc/calloc/realloc* returns. | |||
2015-05-18 | swap calloc() arguments for clarity | Theo de Raadt | |
2015-05-17 | Use fcntl() to set non-blocking-mode, rather ioctl(). This has a better | Theo de Raadt | |
chance of working in systrace restricted environments. ok guenther | |||
2015-05-04 | Use the size of the buffer not the pointer in a call to mem_free(). | Jonathan Gray | |
ok miod@ and guenther@ who both pointed out this argument is unused. | |||
2015-04-25 | Cut the aliases part of /etc/rpc lines before feeding them to strtonum(), for | Miod Vallat | |
it will fail otherwise; ok deraadt@ millert@ | |||
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
2015-01-16 | Move to the <limits.h> universe. | Theo de Raadt | |
review by millert, binary checking process with doug, concept with guenther | |||
2014-11-11 | Merge from NetBSD from 1999-03-25:" | Philip Guenther | |
* 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@ | |||
2014-11-05 | missing pfd = newp, diagnosed by deraadt@ | Stuart Henderson | |
2014-11-04 | Fix memory leak on reallocarray() failure introduced by conversion | Todd C. Miller | |
from calloc(). | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-10-22 | We prefer to use call reallocarray() with nmemb first and size second. | Todd C. Miller | |
Requested by guenther@ | |||
2014-10-22 | Use reallocarray() instead of calloc() (originally was realloc). | Todd C. Miller | |
OK deraadt@ | |||
2014-10-08 | obvious conversion of realloc() to reallocarray(). Luckily this is | Theo de Raadt | |
using pollfd, because if this was fd_set... it would not be obvious (or easy) | |||
2014-09-15 | When fopen()ing internal to libc (the API doesn't support the use | Philip Guenther | |
of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@ | |||
2014-07-21 | Switch from <sys/endian.h> or <machine/endian.h> to the new, | Philip Guenther | |
being-standardized <endian.h> ok deraadt@ millert@ beck@ | |||
2014-03-16 | lint is dead (long live the lint!), so stop using it as a cpp conditional | Philip Guenther | |
(namespace pollution!) or talking about its opinion on code. ok krw@ | |||
2014-01-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2013-11-26 | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | Theo de Raadt | |
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||
2013-11-13 | bring in proto | Theo de Raadt | |
2013-11-12 | insert the proper arguments into a prototype | Theo de Raadt | |
2013-11-12 | pull in missing includes (math.h, unistd.h, stdlib.h) needed for | Theo de Raadt | |
prototypes | |||
2013-06-05 | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | Ted Unangst | |
2013-04-17 | add some prototypes, casts, includes, parenthesis, and whatnot to | Ted Unangst | |
silence some warnings. | |||
2013-04-16 | Replace a realloc() + memcpy() with calloc() + memcpy(). | Todd C. Miller | |
We don't need to zero pfd but using calloc() gets us overflow protection for free. OK chl@ deraadt@ | |||
2013-04-15 | Back out r1.17 and its subsequent conversion to poll. Otherwise | Todd C. Miller | |
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@ | |||
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... |