189 Commits (b8b729bd22c28c9116c2fce65dce207a35299c26)

Author SHA1 Message Date
Rich Felker 262003ad9d fix missing newline in herror output 6 years ago
Rich Felker cf27184d00 restore h_errno ABI compatibility with ancient binaries 6 years ago
Rich Felker 19f8642494 report res_query failures, including nxdomain/nodata, via h_errno 6 years ago
Rich Felker 9d0b8b92a5 make h_errno thread-local 6 years ago
Rich Felker f1198ea3cf in hosts file lookups, honor first canonical name regardless of family 6 years ago
Rich Felker 20c6d83f55 in hosts file lookups, use only first match for canonical name 6 years ago
Rich Felker 1b4e84c56d fix return value of res_send, res_query on errors from nameserver 6 years ago
Rich Felker 5cf1ac2443 fix handling of errors resolving one of paired A+AAAA query 6 years ago
Rich Felker fd7ec068ef set AD bit in dns queries, suppress for internal use 6 years ago
Rich Felker 7063c459e7 use __socketcall to simplify socket() 6 years ago
Rich Felker 114178dc8d hook recvmmsg up to SO_TIMESTAMP[NS] fallback for pre-time64 kernels 7 years ago
Rich Felker ae388becb5 implement SO_TIMESTAMP[NS] fallback for kernels without time64 versions 7 years ago
Rich Felker 37d6d09ec6 fix regression in recvmmsg with no timeout 7 years ago
Rich Felker 51fd67fcbf get/setsockopt: add fallback for new time64 SO_RCVTIMEO/SO_SNDTIMEO 7 years ago
Rich Felker 6a4a1691a0 recvmmsg: add time64 syscall support, decouple 32-bit time_t 7 years ago
Ryan Fairfax 2a0ff45b36 handle labels with 8-bit byte values in dn_skipname 7 years ago
Rich Felker ad795d56ba fix spurious undefined behavior in getaddrinfo 7 years ago
Rich Felker 224d938c5e fix invalid free of partial addrinfo list with multiple services 7 years ago
Rich Felker d1395c43c0 allow freeaddrinfo of arbitrary sublists of addrinfo list 8 years ago
Rich Felker f381c118b2 fix getaddrinfo regression with AI_ADDRCONFIG on some configurations 8 years ago
Rich Felker 5ce3737931 reduce spurious inclusion of libc.h 8 years ago
Rich Felker 3fe595de83 remove or make static various unused __-prefixed symbols 8 years ago
Rich Felker 7e399fabd3 apply hidden visibility to various remaining internal interfaces 8 years ago
Rich Felker 13d1afa46f overhaul internally-public declarations using wrapper headers 8 years ago
Rich Felker 432f9f0e31 move __res_msend_rc declaration to lookup.h 8 years ago
Rich Felker c98bf5b869 move and deduplicate declarations of __dns_parse to make it checkable 8 years ago
Rich Felker c221d3e586 fix issues from public functions defined without declaration visible 8 years ago
Rich Felker 64466094ed fix stack-based oob memory clobber in resolver's result sorting 8 years ago
Rich Felker 187bcc3bf4 implement getaddrinfo's AI_ADDRCONFIG flag 8 years ago
Rich Felker 4f35eb7591 resolver: don't depend on v4mapped ipv6 to probe routability of v4 addrs 8 years ago
Arthur Jones 5c8e69267b inet_ntop: do not compress single zeros in IPv6 8 years ago
Rich Felker 63e2e40ee3 resolver: omit final dot (root/suppress-search) in canonical name 8 years ago
A. Wilcox 30fdda6c99 fix getaddrinfo error code for non-numeric service with AI_NUMERICSERV 9 years ago
Rich Felker 45ca5d3fcb in dns parsing callback, enforce MAXADDRS to preclude overflow 9 years ago
Rich Felker 565dbee24d don't treat numeric port strings as servent records in getservby*() 9 years ago
Rich Felker 1a7fa5e521 fix regression in support for resolv.conf attempts option 9 years ago
Rich Felker 1ca597551b fix read past end of buffer in getaddrinfo backend 9 years ago
Rich Felker 6a209f14ff fix possible fd leak, unrestored cancellation state on dns socket fail 9 years ago
Daniel Sabogal 8d7a3f40c8 fix getservby*_r result pointer value on error 10 years ago
Daniel Sabogal d917ef0b84 remove dead case in gethostbyname2_r 10 years ago
Daniel Sabogal 32055d52ca fix if_indextoname error case 10 years ago
Rich Felker 7c82870d45 remove obsolete and unused gethostbyaddr implementation 10 years ago
Natanael Copa 4adc6c33e7 refactor name_from_dns in hostname lookup backend 10 years ago
Natanael Copa 04bced403d in performing dns lookups, check result from res_mkquery 10 years ago
Rich Felker 4da0bc5ef8 fix misaligned address buffers in gethostbyname[2][_r] results 10 years ago
Andrew Kelley 4b619e5c61 fix incorrect protocol name and number for egp 10 years ago
Petr Vaněk e7d05c7894 remove dead store in res_msend 10 years ago
Timo Teräs 5978eb703c fix gethostbyaddr_r to fill struct hostent.h_length as appropriate 10 years ago
Rich Felker 6d70c08a2c handle non-matching address family entries in hosts file 10 years ago
Rich Felker 1563587b45 reuse parsed resolv.conf in dns core to avoid re-reading/re-parsing 10 years ago