Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Typos. | ray | 2007-05-20 | 1 | -3/+3 |
| | | | | OK jmc@. | ||||
* | Remove no-op code. From tbert. | ray | 2007-05-18 | 1 | -3/+1 |
| | | | | OK moritz@ and jaredy@ | ||||
* | Improve reentrancy by not using global variable. Removes two | ray | 2007-05-17 | 1 | -31/+11 |
| | | | | | | wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@. | ||||
* | Use size_t for strlen results. | ray | 2007-05-12 | 1 | -4/+6 |
| | | | | OK moritz@. | ||||
* | Clean up macros according to style. From tbert <bret dot lambert at gmail>. | ray | 2007-05-12 | 1 | -27/+27 |
| | | | | OK moritz@ and jaredy@. | ||||
* | Use syslog_r instead of syslog in getaddrinfo. Slowly making | ray | 2007-05-10 | 1 | -4/+9 |
| | | | | | | getaddrinfo reentrant. OK millert@ and deraadt@. | ||||
* | strlen(3) returns size_t. | ray | 2007-02-18 | 1 | -4/+6 |
| | | | | OK itojun@. | ||||
* | Remove duplicate code. No functional change. | ray | 2007-02-17 | 1 | -39/+22 |
| | | | | OK itojun@, moritz@, and millert@. | ||||
* | Remove two mutexes by replacing getservbyname() and getservbyport() | ray | 2007-02-15 | 1 | -9/+8 |
| | | | | | | calls with their reentrant versions. OK millert@. | ||||
* | Remove int pretending to be a size_t. | ray | 2007-02-14 | 1 | -5/+2 |
| | | | | OK millert@. | ||||
* | change semantics of ff01::/16 to interface local multicast | itojun | 2006-11-17 | 1 | -2/+3 |
| | | | | | | (to sync up with more recent IPv6 spec) ok from: deraadt mcbride | ||||
* | Clarify strlcpy code by explicitly naming variable `len' and | ray | 2006-04-18 | 1 | -5/+6 |
| | | | | | | | separating out each step. Inspired during miscommunication with tedu@. OK deraadt@ | ||||
* | Remove str2number(), use strtonum(3) instead. | ray | 2006-04-14 | 1 | -44/+20 |
| | | | | | | | | Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@ | ||||
* | Pass size of correct variable to memset(). | ray | 2006-03-22 | 1 | -2/+2 |
| | | | | | | From Alexey Dobriyan. OK otto@ | ||||
* | fix spelling mistake (in comment); | jmc | 2005-07-18 | 1 | -2/+2 |
| | | | | from ray lai; | ||||
* | make the resolver stat resolv.conf and update if it changes. | tedu | 2005-03-30 | 1 | -5/+5 |
| | | | | useful feedback and ok deraadt@ | ||||
* | ansify. ok deraadt@ moritz@ | otto | 2005-03-25 | 1 | -80/+31 |
| | |||||
* | major bump to libc and libpthread to break the dependency of a | marc | 2004-06-07 | 1 | -2/+2 |
| | | | | | | particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@ | ||||
* | implement RFC3493 AI_NUMERICSERV. tedu ok | itojun | 2004-04-14 | 1 | -46/+14 |
| | |||||
* | bug library/3297: lib/libc/net/get{addr,name}info should share mutex | marc | 2003-07-21 | 1 | -2/+3 |
| | | | | 'Looks right' deraadt@ | ||||
* | fill ai_canonname field for numeric hostname, by the given hostname. | itojun | 2003-05-14 | 1 | -8/+26 |
| | | | | folows new recommendation in RFC3493. markus ok | ||||
* | If hostname != NULL, hostname is not a numeric string, and AI_NUMERICHOST | jason | 2003-03-17 | 1 | -3/+3 |
| | | | | is set, return EAI_NONAME like RFC2553 specifies. millert/itojun ok. | ||||
* | strlcpy, check retval from sprintf | itojun | 2003-03-04 | 1 | -2/+2 |
| | |||||
* | thread safer libc (note: safer, not safe) | marc | 2003-01-28 | 1 | -29/+47 |
| | | | | | | | | | | Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@ | ||||
* | allocate 64K recieve buffer for DNS responses. | itojun | 2002-08-27 | 1 | -18/+33 |
| | |||||
* | drop AAAA reply with IPv4 mapped address. sync w/kame | itojun | 2002-08-22 | 1 | -1/+9 |
| | | | | draft-itojun-v6ops-v4mapped-harmful-00.txt | ||||
* | kill more strcpy | deraadt | 2002-07-25 | 1 | -5/+4 |
| | |||||
* | have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup. | itojun | 2002-07-24 | 1 | -3/+16 |
| | |||||
* | more type pedant | itojun | 2002-07-01 | 1 | -2/+2 |
| | |||||
* | lint clean (and don't mixup signed/unsigned). from martin husemann | itojun | 2002-07-01 | 1 | -12/+12 |
| | |||||
* | make more pedantic check on strtoul. from deraadt, sync w/kame | itojun | 2002-07-01 | 1 | -8/+12 |
| | |||||
* | correct port range check. from deraadt. sync w/kame. bind-bugs have ↵ | itojun | 2002-06-29 | 1 | -2/+3 |
| | | | | already notified. | ||||
* | %d/%u mixup (in #ifdef DEBUG) | itojun | 2002-06-27 | 1 | -2/+2 |
| | |||||
* | correct bad practice in the code - it uses two changing variables | itojun | 2002-06-26 | 1 | -10/+7 |
| | | | | | | | to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is NOT critical. | ||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | millert | 2002-02-17 | 1 | -23/+21 |
| | | | | outside the tree) | ||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 1 | -16/+16 |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | ||||
* | label abort() from inside library as ILLEGAL | deraadt | 2002-01-02 | 1 | -3/+3 |
| | |||||
* | use snprintf, not sprintf. sync with kame | itojun | 2001-08-20 | 1 | -2/+2 |
| | |||||
* | use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok. | lebel | 2001-06-27 | 1 | -3/+2 |
| | |||||
* | support EDNS0 (RFC2671) buffer size notification on DNS queries. | itojun | 2001-06-11 | 1 | -1/+4 |
| | | | | | | | | | "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. | ||||
* | on /etc/hosts lookup, set "official host name" (the leftmost hostname) | itojun | 2000-08-31 | 1 | -4/+7 |
| | | | | | into ai_canonname. this is to synchronize with practice in gethostby*. comment from ume@mahoroba.org. sync with kame. | ||||
* | Wall | deraadt | 2000-08-22 | 1 | -2/+3 |
| | |||||
* | reject empty scopeid/numeric portname. sync with kame. | itojun | 2000-07-09 | 1 | -9/+16 |
| | |||||
* | return EAI_NODATA, instead of EAI_NONAME, on name resolution errors. | itojun | 2000-07-05 | 1 | -18/+18 |
| | | | | | EAI_NONAME does not make sense in these situations. from kame. From: enami@netbsd.org | ||||
* | translate DNS error code into getaddrinfo error code (EAI_xxx). PR 1229. | itojun | 2000-05-15 | 1 | -2/+27 |
| | |||||
* | remove unused struct def. more sanity check for NULL. | itojun | 2000-04-27 | 1 | -16/+16 |
| | |||||
* | add $KAME$ for future version tracking | itojun | 2000-04-26 | 1 | -1/+2 |
| | |||||
* | remove #if 0'ed portion which we will never revisit (no behavior change). | itojun | 2000-04-26 | 1 | -14/+1 |
| | |||||
* | sync with latest kame. | itojun | 2000-04-26 | 1 | -19/+21 |
| | | | | | | - completely disable AI_ADDRCONFIG support (post RFC2553) since it does not work for PF_UNSPEC. - remove unused variables, some delint. | ||||
* | correct boundary check. XXX should avoid code duplicate here... | itojun | 2000-04-25 | 1 | -2/+2 |
| |