Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix alignment issue in getnetby{addr,name}() too. | 2013-04-04 | 1 | -6/+10 | |
| | |||||
* | use the provided ALIGN() macro instead of re-inventing a square wheel. | 2013-04-04 | 1 | -7/+3 | |
| | | | | prodded by deraadt@ | ||||
* | properly follow the CNAME chain in reverse lookups | 2013-04-03 | 1 | -5/+13 | |
| | | | | spotted by sthen@ | ||||
* | Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensure | 2013-04-03 | 1 | -2/+7 | |
| | | | | | | we don't trigger SIGPIPE. ok millert | ||||
* | Update a comment about standards requirements | 2013-04-03 | 1 | -4/+4 | |
| | |||||
* | Drop an unnecessary #include | 2013-04-03 | 1 | -3/+2 | |
| | | | | reminded by schwarze@ | ||||
* | Set the stream orientation in open_{,w}memstream(). | 2013-04-03 | 2 | -2/+4 | |
| | | | | | | Check it in the regress test ok mpi@ | ||||
* | add comment for how EINPROGRESS is handled there. | 2013-04-02 | 1 | -1/+6 | |
| | |||||
* | make sure we always point before the current offset. | 2013-04-02 | 1 | -2/+2 | |
| | | | | spotted by matthew@ | ||||
* | better implementation for tcp_read() that can get the packet length in | 2013-04-02 | 2 | -23/+35 | |
| | | | | | | multiple read. prodded by deraadt@ | ||||
* | If more than one lookup line is found in resolv.conf, the latest one | 2013-04-01 | 1 | -18/+9 | |
| | | | | | | takes precedence. Simplify code while there. suggested by deraadt@ | ||||
* | properly check for domain name truncation at various places and fail | 2013-04-01 | 3 | -20/+30 | |
| | | | | | | if that happens. prodded by deraadt@ | ||||
* | When there are multiple groups of functions with their own #includes | 2013-04-01 | 14 | -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 eric | 2013-04-01 | 2 | -4/+4 | |
| | |||||
* | space cleanup; ok eric | 2013-04-01 | 13 | -72/+72 | |
| | |||||
* | rename field | 2013-04-01 | 2 | -6/+6 | |
| | |||||
* | simpler and saner implementation for tcp_write(). now fully handles | 2013-04-01 | 2 | -40/+16 | |
| | | | | | | short writes. prodded by deraadt@ | ||||
* | fix alignment issue in the structure filled by gethostby{name,addr}() | 2013-04-01 | 1 | -10/+23 | |
| | | | | spotted by naddy@ | ||||
* | More SYNOPSIS, ERRORS, and STANDARDS updates | 2013-03-31 | 7 | -26/+62 | |
| | |||||
* | Principle of least astonishment: implement nameserver retry/backoff as | 2013-03-31 | 2 | -8/+10 | |
| | | | | in the former resolver. | ||||
* | Add a couple commas, as suggested by jmc@ | 2013-03-31 | 1 | -3/+3 | |
| | |||||
* | getaddrinfo is now thread-safe. | 2013-03-31 | 1 | -6/+2 | |
| | | | | ok eric@ | ||||
* | Document more difference between parent and child. | 2013-03-31 | 1 | -9/+27 | |
| | | | | | | Updates to ERRORS, and STANDARDS ok jmc@ | ||||
* | Updates to RETURN VALUES, ERRORS, and STANDARDS | 2013-03-31 | 1 | -3/+14 | |
| | | | | ok jmc@ | ||||
* | Updates to SYNOPSIS, ERRORS, and STANDARDS | 2013-03-31 | 7 | -38/+86 | |
| | | | | ok jmc@ | ||||
* | Add ERRORS and STANDARDS sections; reorder and reword description to | 2013-03-31 | 1 | -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 cases | 2013-03-31 | 13 | -59/+250 | |
| | | | | of the various *at() functions. | ||||
* | allow "0" as service name for raw sockets. | 2013-03-30 | 1 | -2/+2 | |
| | | | | ok sthen@ bluhm@ | ||||
* | Do not assume local nameserver if resolv.conf doesn't exist, just use | 2013-03-30 | 2 | -8/+7 | |
| | | | | | | /etc/hosts. discussed with deraadt@ | ||||
* | tweak previous; | 2013-03-30 | 2 | -4/+4 | |
| | |||||
* | don't ever skip reload the very first time; detective work by rpe@; ok eric@ | 2013-03-30 | 1 | -2/+2 | |
| | |||||
* | Various updates, mostly to SYNOPSIS, ERRORS, and STANDARDS, but | 2013-03-30 | 20 | -132/+216 | |
| | | | | | | | | some other fixes included... *at() function ERRORS description suggested by matthew@ ok deraadt@ | ||||
* | properly handle scope when parsing IPv6 addresses. | 2013-03-29 | 1 | -2/+32 | |
| | | | | ok bluhm@ naddy@ sthen@ | ||||
* | res_querydomain()'s code to terminate the domain with '.' had the assignment | 2013-03-29 | 1 | -2/+2 | |
| | | | | | | | flipped so that it always used a domain of ".." Heavy lifting by otto@ ok eric@ otto@ miod@ | ||||
* | correctly show the scope for IPv6 addresses in getnameinfo() | 2013-03-29 | 1 | -4/+27 | |
| | |||||
* | Do not fail in gethostbyname_async() if there are multiple addresses in | 2013-03-29 | 1 | -3/+3 | |
| | | | | a DNS packet... | ||||
* | no Pp before/after Sh; | 2013-03-28 | 1 | -2/+1 | |
| | |||||
* | pathconf/fpathconf are now compliant with POSIX-2008. | 2013-03-28 | 1 | -5/+14 | |
| | | | | Adjust the errnos a bit. | ||||
* | Switch libc and libm to use strong aliases rather than weak aliases | 2013-03-28 | 28 | -204/+68 | |
| | | | | | | | | | | | where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@. | ||||
* | switch to the new resolver implementation. | 2013-03-28 | 1 | -1/+2 | |
| | | | | requested by many. | ||||
* | Enable fmemopen(3) and open_{w,}memstream(3) | 2013-03-28 | 1 | -12/+13 | |
| | | | | commiting on behalf of mpi@ | ||||
* | accept and use any protocol specified by the caller. | 2013-03-28 | 1 | -14/+10 | |
| | | | | issue spotted by naddy@ | ||||
* | Correct version number | 2013-03-28 | 2 | -6/+6 | |
| | |||||
* | Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2, | 2013-03-28 | 1 | -2/+4 | |
| | | | | | | | msdos, NFS, fifos and devices, plus support for querying it in getconf(2) and the requisite pathconf(2) manpage blurb ok tedu@ | ||||
* | explicitely -> explicitly; | 2013-03-27 | 1 | -2/+2 | |
| | |||||
* | Add an open_wmemstream(3) implementation and fix various issues for | 2013-03-27 | 3 | -55/+211 | |
| | | | | | | fmemopen(3) and open_memstream(3). With inputs from millert@, stsp@, guenther@, tedu@ and matthew@ | ||||
* | Only use the search domains for DNS lookups, as the current resolver does. | 2013-03-27 | 7 | -85/+63 | |
| | | | | | Better not diverge too much in behavior at this point. Typo fix and doc update while there. | ||||
* | protect the PRG state with a mutex in res_randomid(). | 2013-03-26 | 1 | -2/+13 | |
| | | | | ok deraadt@ guenther@ djm@ | ||||
* | sysconf(_SC_SEM_VALUE_MAX) should return SEM_VALUE_MAX, not some | 2013-03-24 | 1 | -7/+3 | |
| | | | | | unrelated sysv sem limit. Similarly, sysconf(_SC_SEM_NSEMS_MAX) should return -1 instead of another sysv sem limit. | ||||
* | dlerror() should not return const char *, as noted by landry | 2013-03-24 | 1 | -3/+3 | |
| | | | | ok guenther |