summaryrefslogtreecommitdiff
path: root/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply http://www.isc.org/products/BIND/patches/bind4910.diffOPENBSD_3_0millert2002-11-141-22/+37
| | | | Fixes bugs listed in http://www.isc.org/products/BIND/bind-security.html
* MFC (itojun):miod2002-09-093-47/+77
| | | | allocate 64K receive buffer for DNS responses.
* MFC (deraadt):miod2002-07-311-2/+2
| | | | permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing
* MFC (deraadt):miod2002-07-301-1/+7
| | | | | return failure if integer overflow happens. sigh; too people had to help get this right.
* avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>millert2002-06-262-43/+33
| | | | | | | | correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. From: itojun this fix is critical.
* typomillert2001-10-011-2/+2
|
* add "options insecure[12]" support for /etc/resolv.conf.itojun2001-09-142-5/+10
| | | | | | insecure1 is necessary for IPv6 dynamic DNS server discovery, draft-ietf-ipngwg-dns-discovery-02.txt. sync with kame. ok'ed by angelos
* K&R promotion is not the whole story. Make things explicit.espie2001-09-071-2/+2
|
* Initial idea from aaron@: Last char of .Xr group in SEE ALSO section shouldmpech2001-09-061-2/+2
| | | | | | be a single digit. Powered by mantoya@. millert@ ok.
* make debug libs build againmickey2001-09-051-1/+21
|
* Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ↵millert2001-09-042-13/+17
| | | | POSIX counterparts.
* put changes back, this time ALL the files.fgsch2001-09-041-3/+3
|
* Back out fgsch@'s tree breaking commits.todd2001-08-301-3/+3
| | | | Test next time, ok?
* fix some const warningsfgsch2001-08-301-3/+3
|
* cope with sa_len < sizeof(struct sockaddr).itojun2001-08-201-2/+5
| | | | From: Patrik Lindergren <patrik@datacom.nu>
* cope with negative return value from snprintf.itojun2001-08-201-12/+25
|
* use snprintf, not sprintf. sync with kameitojun2001-08-201-2/+2
|
* Use calloc() to allocate response data. Be more careful when freeingho2001-08-161-16/+25
| | | | memory. jakob@ ok.
* #(endif|else) foo is incorrect, make it #endif /* foo */heko2001-08-122-7/+7
| | | | deraadt@ ok
* add CAVEATS section that talks about trust and the AD-bitjakob2001-08-081-1/+11
|
* KNF; and i bonked jakob in the head for it too, with a plastic bottle of cokederaadt2001-08-071-24/+16
|
* add copyright notices; noted as missing by itojunderaadt2001-08-072-0/+49
|
* typoitojun2001-08-071-2/+2
|
* -Wunuseditojun2001-08-071-1/+0
|
* sorry, correct the polarity of return value on AF_INET6.itojun2001-08-071-4/+9
|
* for AF_INET6, must compare sin6_scope_id.itojun2001-08-071-1/+3
|
* add AUTHORS and update HISTORYjakob2001-08-061-2/+6
|
* OpenBSD id-tagsjakob2001-08-062-2/+2
|
* add getrrsetbyname(3) - API to retrieve arbitrary DNS recordsjakob2001-08-063-5/+661
|
* o) We always close .Bl and .Bd tags;mpech2001-08-068-16/+12
| | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
* there's no no host.conf on openbsd. pointed out by smbitojun2001-08-052-16/+4
|
* pet peeve, insure vs ensurehugh2001-08-022-4/+4
| | | | | insure is to indemnify against some contingency ensure is to make sure
* add support for EDNS0 extended flag DNSSEC OK (aka DO). ok deraadt@jakob2001-07-312-7/+19
|
* Minor style pedentry from ben@arbor.net plus some of my own and syncmillert2001-07-291-7/+10
| | | | libkern and libc versions.
* clean up.mpech2001-07-271-2/+2
| | | | millert@ ok
* a first pass at -Wallderaadt2001-07-092-9/+10
|
* fix unused code path; karls@inet.noderaadt2001-07-041-4/+5
|
* missing freeaddrinfo(). PR 1907itojun2001-06-301-2/+5
|
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-2714-68/+47
|
* more .%A handling; bk@rt.fmderaadt2001-06-231-2/+3
|
* ok, tmac is now fixedderaadt2001-06-234-10/+16
|
* join .%A entries; most by bk@rt.fmderaadt2001-06-234-16/+10
|
* Clarify that if strlcat() does not find a NUL within siz byte itmillert2001-06-181-2/+4
| | | | will not NUL terminate either.
* Fix a buf oflow in EXAMPLES code; millert@ okaaron2001-06-141-3/+6
|
* on openbsd, NI_MAXHOST value is different from RFC2553. PR 1870itojun2001-06-121-2/+7
|
* support EDNS0 (RFC2671) buffer size notification on DNS queries.itojun2001-06-115-9/+56
| | | | | | | | | "options edns0" in /etc/resolv.conf will enable the behavior. no behavior change if you don't have the line. see resolv.conf(5) for more details. EDNS0 is useful for avoiding TCP DNS queries/replies on larger DNS responses. also, draft-ietf-dnsext-message-size-* plans to mandate EDNS0 support for DNS clients that support IPv6 transport.
* remove confusing comparison with srand (it does not return the old seed)assar2001-06-091-11/+3
| | | | use .Sh AUTHORS and .An for author
* License clarification from David Mazieres, ok deraadt@pvalchev2001-06-051-3/+2
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-054-5/+1
|
* unsigned -> unsigned int; grange@rt.mipt.rumillert2001-05-131-2/+2
|