summaryrefslogtreecommitdiff
path: root/lib/libc/asr
AgeCommit message (Expand)Author
2016-06-18Remove duplicated line.Reyk Floeter
2016-05-27typo fixes; Anthony CoulterStuart Henderson
2016-05-26Calculate elapsed time in poll() and subtract that from the remaining timeJonathan Matthew
2016-04-05Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specificPhilip Guenther
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2016-03-23Initialize _res_ext.nsaddr_list alongside _res.nsaddr_list.Christopher Zimmermann
2016-02-24Avoid a possible double-free if the "search" keyword is used multiple times.Eric Faurot
2015-12-16Remove support for HOSTALIASES from the resolver. This "open and parseTheo de Raadt
2015-11-23Remove support for "lookup yp" in /etc/resolv.conf. This historicalTheo de Raadt
2015-11-05Set the name server counter in __res_state correctly if a nameserverAlexander Bluhm
2015-11-05When filling the __res_state compatibiliy struct, a long list ofAlexander Bluhm
2015-10-28We are always using _PATH_RESCONF, so no need to remember the path onEric Faurot
2015-10-28Remove support for [addr]:port syntax from the "nameserver" line.Theo de Raadt
2015-10-23Switch to using SOCK_DNS flag, rather than the dnssocket() andTheo de Raadt
2015-10-18libc DNS functions will now use the new dnssocket() / dnsconnect()Theo de Raadt
2015-10-08fix conditionalsEric Faurot
2015-10-08Handle case where no hint is passed in. Found as a crash of fdm by jturner@Theo de Raadt
2015-10-07getaddrinfo_async() shouldn't unconditionally intialize the resolverTheo de Raadt
2015-10-07getaddrinfo() should not res_init() unconditionally, but allow lowerTheo de Raadt
2015-10-05Wrap <resolv.h> so that internal calls go directPhilip Guenther
2015-10-03Initially eric developers asr as a side-load style library for async DNS.Theo de Raadt
2015-10-03missing asr* -> _asr* symbol rename for building with debug codeEric Faurot
2015-10-02make a && && & block more readable. no binary change.Theo de Raadt
2015-09-20remove bogus includes of err.hEric Faurot
2015-09-20use _PATH_RESCONF directlyEric Faurot
2015-09-20remove unused static functionEric Faurot
2015-09-14Wrap <asr.h> so internal calls go direct and all the symbols are weakPhilip Guenther
2015-09-14Finish wrapping <netdb.h> so that calls go direct and the symbols are all weakPhilip Guenther
2015-09-09Hide all unnecessary asr / resolver related API with _ prefixes.Theo de Raadt
2015-09-09Use SOCK_NONBLOCK in a couple more placesPhilip Guenther
2015-09-02use _PATH_RESCONFTheo de Raadt
2015-08-16Fix test against INADDR_LOOPBACKJeremie Courreges-Anglas
2015-06-20Rename print_sockaddr() to avoid symbol visibility problemsJeremie Courreges-Anglas
2015-06-04make sure to check for resolv.conf update the first time the resolverEric Faurot
2015-05-29fix a possible off-by-one when reading /etc/hosts if it doesn't endEric Faurot
2015-05-26simply use _PATH_HOSTS where appropriateEric Faurot
2015-05-25Kill outdated comment.Jeremie Courreges-Anglas
2015-05-25Skip search domains iteration if RES_DNSRCH and/or RES_DEFNAMES is unset.Eric Faurot
2015-05-25getnameinfo(3) doesn't need to initialize the resolver when it's only usedEric Faurot
2015-05-05AI_ADDRCONFIG: skip loopback addresses, not loopback interfaces.Jeremie Courreges-Anglas
2015-05-05Move the AI_ADDRCONFIG setup to its own function.Jeremie Courreges-Anglas
2015-03-02gethostbyname(3) would fail when more than 16 addrs/aliases were returned.Bryan Steele
2015-02-14Limit AI_ADDRCONFIG effects to DNS queries.Jeremie Courreges-Anglas
2015-01-30fix a possible NULL-deref when trying to deref ifa->ifa_addrGilles Chehade
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2015-01-14change _yp_domain[] to HOST_NAME_MAX+1, and re-arrange those who includeTheo de Raadt
2014-11-18Nuke some obvious #include duplications.Kenneth R Westerback
2014-11-02Fix a NULL deref when getting an actual result for an invalid hostnameEric Faurot
2014-09-15When fopen()ing internal to libc (the API doesn't support the usePhilip Guenther
2014-09-15Use _PATH_NETWORKS for "/etc/networks"Philip Guenther