summaryrefslogtreecommitdiff
path: root/lib/libc/asr/getaddrinfo_async.c
AgeCommit message (Expand)Author
2024-08-21Make sure ai_canonname is set when AI_CANONNAME was requested.Florian Obser
2024-01-15Make sure to return a proper string in ai_canonname.Florian Obser
2023-11-21Do not short-circuit localhost resolution when AI_NUMERICHOST is set.Florian Obser
2023-11-20localhost is either 127.0.0.1 or ::1, nothing else.Florian Obser
2022-12-27spelling fixes; from paul tagliamonteJason McIntyre
2022-11-17Restrict what getaddrinfo(3) is willing to try to resolve.Florian Obser
2021-01-26When checking for available address family for AI_ADDRCONFIG considerFlorian Obser
2018-11-03For correctness, do not read struct servent if getservbyname_r() failed.Eric Faurot
2018-10-22More "explicitely" -> "explicitly" in various comments.Kenneth R Westerback
2017-02-27Put a common flags field in the query struct, rather than in someJeremie Courreges-Anglas
2017-02-23Put a common subq pointer in the query struct, rather than one in eachEric Faurot
2017-02-21missing breaksEric Faurot
2017-02-21Report the errno set by getifaddrs(3) if the setup for AI_ADDRCONFIG fails,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-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-09-20remove bogus includes of err.hEric 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-09Hide all unnecessary asr / resolver related API with _ prefixes.Theo de Raadt
2015-08-16Fix test against INADDR_LOOPBACKJeremie Courreges-Anglas
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-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-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-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-09-15When fopen()ing internal to libc (the API doesn't support the usePhilip Guenther
2014-07-23Make queries using the search list for hostname lookups fail withEric Faurot
2014-05-10remove warning by adding explicit parentheses around && within ||Charles Longeau
2014-04-28Implement AI_ADDRCONFIGsperreault
2014-03-26Make the asr API public. Install asr.h to /usr/include.h and manpages.Eric Faurot
2014-03-25Cleanup and simplify the API to be exposed. Use better names forEric Faurot
2014-03-14prefix structure names to avoid ambiguity and possible collisions whenEric Faurot
2014-03-03fix support for HOSTALIASES.Eric Faurot
2014-02-26need more #include files for resolv.h, for the non-YP case, which happensTheo de Raadt
2014-02-26Do not restrict chars in dname during label expansion, but validate resultingEric Faurot
2014-02-17Better search strategy for getaddrinfo. The address family loop mustEric Faurot
2013-07-12Make some symbols static and prefix all visible symbols with asr_Eric Faurot
2013-06-01Make hostaliases work for gethostbyname() and getaddrinfo() whenEric Faurot
2013-04-30Do not take external buffers for storing DNS responses in the internalEric Faurot
2013-04-30copy input flags in result addrinfo structures.Eric Faurot
2013-04-08Comply with rfc2553. lib/libc/net/getaddrinfo.c already has this right.Christopher Zimmermann
2013-04-01space cleanup; ok ericTheo de Raadt