summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-04-06fix race when exiting a detached thread. observed by and ok guentherTed Unangst
2013-04-06rthread 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.soKurt Miller
okay guenther@
2013-04-05do not fail on EINTREric Faurot
suggested by deraadt@
2013-04-04fix alignment issue in getnetby{addr,name}() too.Eric Faurot
2013-04-04use the provided ALIGN() macro instead of re-inventing a square wheel.Eric Faurot
prodded by deraadt@
2013-04-03properly follow the CNAME chain in reverse lookupsEric Faurot
spotted by sthen@
2013-04-03Use MSG_NOSIGNAL when writing DNS queries over TCP sockets to ensureMatthew Dempsky
we don't trigger SIGPIPE. ok millert
2013-04-03Update a comment about standards requirementsPhilip Guenther
2013-04-03Drop an unnecessary #includePhilip Guenther
reminded by schwarze@
2013-04-03Handle big time_t.Philip Guenther
Use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofday() when measuring time intervals for debugging output. ok ratchov@
2013-04-03Set the stream orientation in open_{,w}memstream().Philip Guenther
Check it in the regress test ok mpi@
2013-04-02add comment for how EINPROGRESS is handled there.Eric Faurot
2013-04-02make sure we always point before the current offset.Eric Faurot
spotted by matthew@
2013-04-02better implementation for tcp_read() that can get the packet length inEric Faurot
multiple read. prodded by deraadt@
2013-04-01If more than one lookup line is found in resolv.conf, the latest oneEric Faurot
takes precedence. Simplify code while there. suggested by deraadt@
2013-04-01properly check for domain name truncation at various places and failEric Faurot
if that happens. prodded by deraadt@
2013-04-01When there are multiple groups of functions with their own #includesPhilip 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-01space cleanup; ok ericTheo de Raadt
2013-04-01space cleanup; ok ericTheo de Raadt
2013-04-01rename fieldEric Faurot
2013-04-01simpler and saner implementation for tcp_write(). now fully handlesEric Faurot
short writes. prodded by deraadt@
2013-04-01fix 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-31More SYNOPSIS, ERRORS, and STANDARDS updatesPhilip Guenther
2013-03-31Principle of least astonishment: implement nameserver retry/backoff asEric Faurot
in the former resolver.
2013-03-31Add a couple commas, as suggested by jmc@Philip Guenther
2013-03-31getaddrinfo is now thread-safe.Brad Smith
ok eric@
2013-03-31Document more difference between parent and child.Philip Guenther
Updates to ERRORS, and STANDARDS ok jmc@
2013-03-31Updates to RETURN VALUES, ERRORS, and STANDARDSPhilip Guenther
ok jmc@
2013-03-31Updates to SYNOPSIS, ERRORS, and STANDARDSPhilip Guenther
ok jmc@
2013-03-31Add ERRORS and STANDARDS sections; reorder and reword description toPhilip Guenther
clarify PROT_NONE vs PROT_* and what protections are actually sure to be supprted. ok jmc@, deraadt@
2013-03-31Use consistent wording for the EINVAL, EBADF, ENOTDIR, and EACCES casesPhilip Guenther
of the various *at() functions.
2013-03-30allow "0" as service name for raw sockets.Eric Faurot
ok sthen@ bluhm@
2013-03-30Do not assume local nameserver if resolv.conf doesn't exist, just useEric Faurot
/etc/hosts. discussed with deraadt@
2013-03-30tweak previous;Jason McIntyre
2013-03-30don't ever skip reload the very first time; detective work by rpe@; ok eric@Otto Moerbeek
2013-03-30Various updates, mostly to SYNOPSIS, ERRORS, and STANDARDS, butPhilip Guenther
some other fixes included... *at() function ERRORS description suggested by matthew@ ok deraadt@
2013-03-29properly handle scope when parsing IPv6 addresses.Eric Faurot
ok bluhm@ naddy@ sthen@
2013-03-29res_querydomain()'s code to terminate the domain with '.' had the assignmentPhilip Guenther
flipped so that it always used a domain of ".." Heavy lifting by otto@ ok eric@ otto@ miod@
2013-03-29correctly show the scope for IPv6 addresses in getnameinfo()Eric Faurot
2013-03-29Do not fail in gethostbyname_async() if there are multiple addresses inEric Faurot
a DNS packet...
2013-03-28no Pp before/after Sh;Jason McIntyre
2013-03-28pathconf/fpathconf are now compliant with POSIX-2008.Philip Guenther
Adjust the errnos a bit.
2013-03-28Switch libc and libm to use strong aliases rather than weak aliasesMartynas Venckus
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@.
2013-03-28switch to the new resolver implementation.Eric Faurot
requested by many.
2013-03-28Enable fmemopen(3) and open_{w,}memstream(3)Eric Faurot
commiting on behalf of mpi@
2013-03-28Avoid using PAGE_SHIFT, PAGE_SIZE, and PAGE_MASK defines, since we alreadyTheo de Raadt
know it from the machine. ok miod
2013-03-28accept and use any protocol specified by the caller.Eric Faurot
issue spotted by naddy@
2013-03-28Correct version numberMartin Pieuchot