Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Remove CTL_USER hierarchy from sysctl() | Philip Guenther | |
(Use sysconf() or confstr() instead) ok miod@ millert@ | |||
2013-04-15 | Implement fdatasync() as a wrapper around fsync() | Matthew Dempsky | |
ok guenther, deraadt, jmc | |||
2013-04-15 | SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in a | Todd C. Miller | |
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@ | |||
2013-04-15 | Crank due to statfs changes and other inbound commits. | Joel Sing | |
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-04-14 | spacing | Theo de Raadt | |
2013-04-14 | typo; Benedikt Steinbusch | Stuart Henderson | |
2013-04-11 | Proper access of _THREAD_PRIVATE storage. Avoids a mem leak and reinit | Otto Moerbeek | |
of resolver context for each resolver call for single threaded programs. With and ok tedu@ ok eric@ | |||
2013-04-11 | Fix obviously stupid bug in the PIC_{LOAD,STORE} macros when compiling with | Miod Vallat | |
-fPIC. Harmless since we build libc -fpic so far. | |||
2013-04-09 | show what we parsed in debug output; ok guether@ | Otto Moerbeek | |
2013-04-08 | Do not fail if the user buffer is too short to hold the packet: fill it up | Eric Faurot | |
to the given size and return the packet length. issue spotted by weerd@ | |||
2013-04-08 | Updates to SYNOPSIS, ERRORS, and STANDARDS. | Philip Guenther | |
2013-04-08 | Use .Er for errno E* constants | Philip Guenther | |
2013-04-08 | Comply with rfc2553. lib/libc/net/getaddrinfo.c already has this right. | Christopher Zimmermann | |
This fixes hostname resolution for OpenVPN 2.3.1. ok eric@. | |||
2013-04-08 | macro fix for previous; | Jason McIntyre | |
2013-04-08 | Updates to SYNOPSIS, ERRORS, and STANDARDS. | Philip Guenther | |
2013-04-08 | zap trailing whitespace; | Jason McIntyre | |
2013-04-08 | Updates to SYNOPSIS, ERRORS, and STANDARDS. | Philip Guenther | |
getrlimit(2) RLIMIT_STACK wording suggested by jmc@ | |||
2013-04-06 | explain what "default" means in sndio.7 rather than {sio,mio}_open.3, | Alexandre Ratchov | |
with tweaks from jmc | |||
2013-04-06 | a little fix for the version history | Ted Unangst | |
2013-04-06 | remove more references to kern.rthreads sysctl. | Ted Unangst | |
many thanks to jmc for noticing | |||
2013-04-06 | fix race when exiting a detached thread. observed by and ok guenther | Ted Unangst | |
2013-04-06 | rthread sysctl isn't experimental anymore. oh, and it's gone too. | Ted Unangst | |
2013-04-05 | - Add comments regarding copies of these files also in libexec/ld.so | Kurt Miller | |
okay guenther@ | |||
2013-04-05 | do not fail on EINTR | Eric Faurot | |
suggested by deraadt@ | |||
2013-04-04 | fix alignment issue in getnetby{addr,name}() too. | Eric Faurot | |
2013-04-04 | use the provided ALIGN() macro instead of re-inventing a square wheel. | Eric Faurot | |
prodded by deraadt@ | |||
2013-04-03 | properly follow the CNAME chain in reverse lookups | Eric Faurot | |
spotted by sthen@ | |||
2013-04-03 | Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensure | Matthew Dempsky | |
we don't trigger SIGPIPE. ok millert | |||
2013-04-03 | Update a comment about standards requirements | Philip Guenther | |
2013-04-03 | Drop an unnecessary #include | Philip Guenther | |
reminded by schwarze@ | |||
2013-04-03 | Handle big time_t. | Philip Guenther | |
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring time intervals for debugging output. ok ratchov@ | |||
2013-04-03 | Set the stream orientation in open_{,w}memstream(). | Philip Guenther | |
Check it in the regress test ok mpi@ | |||
2013-04-02 | add comment for how EINPROGRESS is handled there. | Eric Faurot | |
2013-04-02 | make sure we always point before the current offset. | Eric Faurot | |
spotted by matthew@ | |||
2013-04-02 | better implementation for tcp_read() that can get the packet length in | Eric Faurot | |
multiple read. prodded by deraadt@ | |||
2013-04-01 | If more than one lookup line is found in resolv.conf, the latest one | Eric Faurot | |
takes precedence. Simplify code while there. suggested by deraadt@ | |||
2013-04-01 | properly check for domain name truncation at various places and fail | Eric Faurot | |
if that happens. prodded by deraadt@ | |||
2013-04-01 | When there are multiple groups of functions with their own #includes | Philip Guenther | |
listed, the #includes in each group are independent, so that users don't need to guess at possible carry-over. general idea ok otto@ millert@ actual diff ok jmc@ schwarze@ | |||
2013-04-01 | space cleanup; ok eric | Theo de Raadt | |
2013-04-01 | space cleanup; ok eric | Theo de Raadt | |
2013-04-01 | rename field | Eric Faurot | |
2013-04-01 | simpler and saner implementation for tcp_write(). now fully handles | Eric Faurot | |
short writes. prodded by deraadt@ | |||
2013-04-01 | fix alignment issue in the structure filled by gethostby{name,addr}() | Eric Faurot | |
spotted by naddy@ | |||
2013-03-31 | - Don't include guard pages in the stack size. | Kurt Miller | |
From Christian Schulte (cs at schulte.it) - Use stack->sp instead of recalculating it. From guenther@ okay guenther@ | |||
2013-03-31 | More SYNOPSIS, ERRORS, and STANDARDS updates | Philip Guenther | |
2013-03-31 | Principle of least astonishment: implement nameserver retry/backoff as | Eric Faurot | |
in the former resolver. | |||
2013-03-31 | Add a couple commas, as suggested by jmc@ | Philip Guenther | |
2013-03-31 | getaddrinfo is now thread-safe. | Brad Smith | |
ok eric@ |