summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove CTL_USER hierarchy from sysctl()guenther2013-04-152-248/+4
| | | | | | (Use sysconf() or confstr() instead) ok miod@ millert@
* Implement fdatasync() as a wrapper around fsync()matthew2013-04-154-12/+55
| | | | ok guenther, deraadt, jmc
* SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in amillert2013-04-153-15/+91
| | | | later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@
* Crank due to statfs changes and other inbound commits.jsing2013-04-151-1/+1
|
* Back out r1.17 and its subsequent conversion to poll. Otherwisemillert2013-04-151-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@
* spacingderaadt2013-04-144-8/+8
|
* Proper access of _THREAD_PRIVATE storage. Avoids a mem leak and reinitotto2013-04-111-3/+3
| | | | | of resolver context for each resolver call for single threaded programs. With and ok tedu@ ok eric@
* Fix obviously stupid bug in the PIC_{LOAD,STORE} macros when compiling withmiod2013-04-111-3/+3
| | | | -fPIC. Harmless since we build libc -fpic so far.
* show what we parsed in debug output; ok guether@otto2013-04-091-2/+2
|
* Do not fail if the user buffer is too short to hold the packet: fill it uperic2013-04-082-5/+26
| | | | | | to the given size and return the packet length. issue spotted by weerd@
* Updates to SYNOPSIS, ERRORS, and STANDARDS.guenther2013-04-085-43/+65
|
* Use .Er for errno E* constantsguenther2013-04-083-18/+18
|
* Comply with rfc2553. lib/libc/net/getaddrinfo.c already has this right.chrisz2013-04-081-2/+2
| | | | | | This fixes hostname resolution for OpenVPN 2.3.1. ok eric@.
* macro fix for previous;jmc2013-04-081-2/+3
|
* Updates to SYNOPSIS, ERRORS, and STANDARDS.guenther2013-04-085-40/+84
|
* zap trailing whitespace;jmc2013-04-081-2/+2
|
* Updates to SYNOPSIS, ERRORS, and STANDARDS.guenther2013-04-081-12/+38
| | | | getrlimit(2) RLIMIT_STACK wording suggested by jmc@
* a little fix for the version historytedu2013-04-062-7/+7
|
* remove more references to kern.rthreads sysctl.tedu2013-04-062-8/+4
| | | | many thanks to jmc for noticing
* rthread sysctl isn't experimental anymore. oh, and it's gone too.tedu2013-04-061-6/+2
|
* - Add comments regarding copies of these files also in libexec/ld.sokurt2013-04-053-3/+9
| | | | okay guenther@
* do not fail on EINTReric2013-04-051-4/+16
| | | | suggested by deraadt@
* fix alignment issue in getnetby{addr,name}() too.eric2013-04-041-6/+10
|
* use the provided ALIGN() macro instead of re-inventing a square wheel.eric2013-04-041-7/+3
| | | | prodded by deraadt@
* properly follow the CNAME chain in reverse lookupseric2013-04-031-5/+13
| | | | spotted by sthen@
* Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensurematthew2013-04-031-2/+7
| | | | | | we don't trigger SIGPIPE. ok millert
* Update a comment about standards requirementsguenther2013-04-031-4/+4
|
* Drop an unnecessary #includeguenther2013-04-031-3/+2
| | | | reminded by schwarze@
* Set the stream orientation in open_{,w}memstream().guenther2013-04-032-2/+4
| | | | | | Check it in the regress test ok mpi@
* add comment for how EINPROGRESS is handled there.eric2013-04-021-1/+6
|
* make sure we always point before the current offset.eric2013-04-021-2/+2
| | | | spotted by matthew@
* better implementation for tcp_read() that can get the packet length ineric2013-04-022-23/+35
| | | | | | multiple read. prodded by deraadt@
* If more than one lookup line is found in resolv.conf, the latest oneeric2013-04-011-18/+9
| | | | | | takes precedence. Simplify code while there. suggested by deraadt@
* properly check for domain name truncation at various places and faileric2013-04-013-20/+30
| | | | | | if that happens. prodded by deraadt@
* When there are multiple groups of functions with their own #includesguenther2013-04-0114-46/+55
| | | | | | | | 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@
* space cleanup; ok ericderaadt2013-04-012-4/+4
|
* space cleanup; ok ericderaadt2013-04-0113-72/+72
|
* rename fielderic2013-04-012-6/+6
|
* simpler and saner implementation for tcp_write(). now fully handleseric2013-04-012-40/+16
| | | | | | short writes. prodded by deraadt@
* fix alignment issue in the structure filled by gethostby{name,addr}()eric2013-04-011-10/+23
| | | | spotted by naddy@
* More SYNOPSIS, ERRORS, and STANDARDS updatesguenther2013-03-317-26/+62
|
* Principle of least astonishment: implement nameserver retry/backoff aseric2013-03-312-8/+10
| | | | in the former resolver.
* Add a couple commas, as suggested by jmc@guenther2013-03-311-3/+3
|
* getaddrinfo is now thread-safe.brad2013-03-311-6/+2
| | | | ok eric@
* Document more difference between parent and child.guenther2013-03-311-9/+27
| | | | | | Updates to ERRORS, and STANDARDS ok jmc@
* Updates to RETURN VALUES, ERRORS, and STANDARDSguenther2013-03-311-3/+14
| | | | ok jmc@
* Updates to SYNOPSIS, ERRORS, and STANDARDSguenther2013-03-317-38/+86
| | | | ok jmc@
* Add ERRORS and STANDARDS sections; reorder and reword description toguenther2013-03-311-14/+39
| | | | | | | clarify PROT_NONE vs PROT_* and what protections are actually sure to be supprted. ok jmc@, deraadt@
* Use consistent wording for the EINVAL, EBADF, ENOTDIR, and EACCES casesguenther2013-03-3113-59/+250
| | | | of the various *at() functions.
* allow "0" as service name for raw sockets.eric2013-03-301-2/+2
| | | | ok sthen@ bluhm@