about summary refs log tree commit diff
path: root/resolv
Commit message (Collapse)AuthorAgeFilesLines
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-106-45/+45
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0118-18/+18
|
* Use __glibc_reserved instead __unused.Ondřej Bílka2013-11-261-1/+1
|
* Correctly copy resolver address. Fixes bug #13028.Ondřej Bílka2013-10-141-1/+1
|
* Remove --disable-versioning.Joseph Myers2013-09-041-1/+1
|
* Fix typos.Ondřej Bílka2013-08-301-1/+1
|
* Fix typos.Ondřej Bílka2013-08-291-1/+1
|
* Clean up _res declaration to use __thread unconditionally.Roland McGrath2013-08-271-3/+1
|
* Don't try to use ioctl unless [FIONREAD].Roland McGrath2013-08-271-1/+4
|
* Mild decrufting in resolv code.Roland McGrath2013-08-272-0/+3
|
* Fix typos.Ondřej Bílka2013-08-214-4/+4
|
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-081-5/+5
|
* Avoid use of "register" as optimization hint.Joseph Myers2013-06-076-27/+27
|
* Fix leading whitespaces.Ondrej Bilka2013-06-061-1/+1
|
* Remove trailing whitespace.Joseph Myers2013-06-053-3/+3
|
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-14/+2
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-165-0/+5
|
* BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger2013-04-291-2/+2
| | | | | | [BZ #15084] * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING and RES_USEVC.
* BZ#15085: Fix comments/strings for RES_NOCHECKNAMEAndreas Jaeger2013-04-292-2/+2
| | | | | | | [BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
* BZ#15086: Fix res_debug printing of optionsAndreas Jaeger2013-04-291-0/+6
| | | | | | | [BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
* Sort Versions filesAndreas Jaeger2013-02-171-1/+1
|
* Remove lots of inline keywords.Roland McGrath2013-02-071-2/+2
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0218-18/+18
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-013-6/+3
|
* Fix assertion failures in resolver (BZ #13013).Aurelien Jarno2012-11-301-15/+15
| | | | | | | [BZ #13013] * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2 depending n and resplen2 to catch cases where answer equals answerp2.
* Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge2012-11-201-1/+1
|
* Return EAI_SYSTEM if we're out of file descriptorsSiddhesh Poyarekar2012-11-191-4/+21
| | | | Resolves BZ #14719.
* Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).Joseph Myers2012-11-131-1/+1
|
* [BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge2012-11-041-1/+0
|
* Define and use $(run-built-tests).Joseph Myers2012-10-241-2/+2
|
* Avoid duplicate DNS requests if answer is longer than a implementationJeroen van Bemmel2012-07-121-4/+0
| | | | | | | | | | | | | | | | limit [BZ #14307] * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of the temporary buffer used to invoke __gethostbyname2_r, __gethostbyaddr_r and gethostbyname4_r to make room for struct host_data / struct gaih_addrtuple. * resolv/nss_dns/dns-host.c (global scope): Move definition of implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to header file nss/nsswitch.h. * nss/nsswitch.h (global scope): Add definition of implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from resolv/nss_dns/dns-host.c).
* Merge copyright years in resolv/nss_dns/dns-host.cSiddhesh Poyarekar2012-03-311-1/+1
|
* Consider TTL of CNAME record and return minimum TTL in the chainSiddhesh Poyarekar2012-03-301-3/+18
| | | | | | | | | [BZ #13928] A DNS request consists of multiple resources combined into a single hostent, including multiple CNAME records that may have been assigned different TTL values. In such a case, nscd should take the least TTL among all of the resources as the timeout for the hostent before it is reloaded in its cache so that the hostent remains stale in the database for the least amount of time.
* * resolv/nss_dns/dns-host.c: Update copyright year.Jeff Law2012-03-301-1/+1
|
* Better error handling for sendmmsg use in res_sendUlrich Drepper2012-03-301-5/+7
|
* Correct check for DNS request send successUlrich Drepper2012-03-301-1/+1
| | | | | | This predates the sendmmsg use. The two requests can use different request sizes but the check for successful transfer always only used buflen.
* Speed up DNS by avoiding a system call if possibleUlrich Drepper2012-03-301-17/+83
|
* [BZ #13760]Jeff Law2012-03-281-1/+7
| | | | | | * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno in the right place. Discard and retry query if response is larger than input buffer size.
* 2012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov2012-03-231-1/+3
| | | | | | | | | | | | | | | | | | | Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines.
* Fix struct timespec normalization (as used in many other places).Thomas Schwinge2012-03-081-2/+2
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-2/+0
|
* [network] Avoid out ouf bounds read in __libc_res_nquerydomainJeff Law2012-02-291-3/+7
| | | | | | | 2012-02-28 Jeff Law <law@redhat.com> * resolv/res_query.c (__libc_res_nquerydomain): Avoid out of bounds read.
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0918-54/+36
|
* Remove pre-ISO C supportUlrich Drepper2012-01-071-48/+47
| | | | No more __const.
* Remove non-ELF supportUlrich Drepper2012-01-072-3/+3
|
* Open /etc/resolv.conf with FD_CLOEXECRoss Lagerwall2011-12-171-1/+1
|
* Clean up internal fopen usesUlrich Drepper2011-11-153-5/+5
| | | | No need to ever not use c and e.
* Avoid unused warning in getaddrinfo_aUlrich Drepper2011-11-121-3/+3
|
* Link libresolv.so with ld.so for __stack_chk_guard.Joseph Myers2011-09-211-1/+7
|
* Remove support for !USE___THREADUlrich Drepper2011-09-102-20/+1
|