Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Improve the libc DNS resolver ID generation algorithm to be more | djm | 2008-04-13 | 1 | -43/+79 | |
| | | | | | | | resistant to prediction atacks by wrapping the existing LCG in a random permutation generator based on a Luby-Rackoff block cipher. lots of discussion and final ok deraadt@ | |||||
* | use RRSIG instead of SIG for DNSSEC. ok djm@ | jakob | 2007-10-11 | 3 | -6/+7 | |
| | ||||||
* | Check snprintf(3) return value for error or truncation. | moritz | 2007-09-17 | 1 | -1/+5 | |
| | | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@ | |||||
* | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | deraadt | 2007-09-02 | 3 | -6/+6 | |
| | ||||||
* | /*FALLTHRU*/ -> /* FALLTHROUGH */ | ray | 2007-08-05 | 1 | -2/+2 | |
| | ||||||
* | ``dot'' notation | jmc | 2007-06-12 | 1 | -19/+9 | |
| | | | | | | | is more readable than `.' notation zap some silly .Tn whilst here; | |||||
* | remove ipx-related stuff. objections nobody. major bump by kurt in a few | henning | 2007-06-05 | 4 | -385/+3 | |
| | ||||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 24 | -48/+48 | |
| | ||||||
* | 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@. | |||||
* | Wrap some functions, labels, and variables in #ifdefs corresponding | ray | 2007-05-16 | 2 | -2/+8 | |
| | | | | | | | to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@. | |||||
* | 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, not int. | ray | 2007-02-18 | 1 | -14/+16 | |
| | | | | | | Suggested by itojun@ in response to my getaddrinfo fixes. OK millert@. | |||||
* | 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 | 2 | -32/+29 | |
| | | | | | | calls with their reentrant versions. OK millert@. | |||||
* | correct a mistake concerning ifa_data; | jmc | 2007-02-14 | 1 | -6/+5 | |
| | | | | found by Srebrenko Sehic, corrected by millert and claudio; | |||||
* | remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31. | itojun | 2007-02-14 | 1 | -5/+2 | |
| | ||||||
* | Remove int pretending to be a size_t. | ray | 2007-02-14 | 1 | -5/+2 | |
| | | | | OK millert@. | |||||
* | RFC4291 declares that IPv6 numeric representation must have no more than | itojun | 2006-12-30 | 1 | -3/+8 | |
| | | | | 4 hex digits between colons. deraadt ok | |||||
* | tweak the text on deprecated functions, after some help from tom; | jmc | 2006-12-09 | 2 | -12/+14 | |
| | ||||||
* | various tweaks; | jmc | 2006-12-09 | 1 | -18/+17 | |
| | ||||||
* | various tweaks; my apologies to itojun for forgetting to | jmc | 2006-12-09 | 1 | -26/+28 | |
| | | | | send him feedback for these | |||||
* | switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542). | itojun | 2006-12-09 | 7 | -5/+971 | |
| | | | | | | | | | | the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. | |||||
* | return is not a function. (cosmetic) | itojun | 2006-12-08 | 1 | -28/+28 | |
| | ||||||
* | change semantics of ff01::/16 to interface local multicast | itojun | 2006-11-17 | 2 | -5/+6 | |
| | | | | | | (to sync up with more recent IPv6 spec) ok from: deraadt mcbride | |||||
* | remove calls to abort(3) that can't happen anyway; from | otto | 2006-10-21 | 1 | -11/+1 | |
| | | | | <bret dot lambert at gmail.com>; ok millert@ deraadt@ | |||||
* | Remove unnecessary /* NOTREACHED */ comments because our lint is | ray | 2006-09-25 | 2 | -20/+8 | |
| | | | | | | cool and recognizes __dead, and because shorter examples are clearer. OK otto@. | |||||
* | If fgetln() != NULL, len == 0 is impossible, so remove check. | ray | 2006-09-23 | 1 | -3/+3 | |
| | | | | OK otto@ and jaredy@. | |||||
* | 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@ | |||||
* | (char)to{upper,lower}() | deraadt | 2006-03-31 | 1 | -4/+4 | |
| | ||||||
* | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask); | deraadt | 2006-03-31 | 1 | -1/+1 | |
| | | | | is not valid code; found by lint | |||||
* | Pass size of correct variable to memset(). | ray | 2006-03-22 | 1 | -2/+2 | |
| | | | | | | From Alexey Dobriyan. OK otto@ | |||||
* | Include limits.h directly instead of depending on another header | millert | 2006-01-17 | 2 | -2/+4 | |
| | | | | to include it for us. | |||||
* | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | millert | 2006-01-17 | 1 | -2/+2 | |
| | ||||||
* | Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> to | claudio | 2005-12-30 | 3 | -3/+6 | |
| | | | | | the list of necessary includes. Now the manpages match reality. OK mpf@ millert@ | |||||
* | handle chroot and res_init calls better. diagnosis assistance from otto. | tedu | 2005-12-22 | 1 | -21/+18 | |
| | | | | ok deraadt otto. | |||||
* | Do not clobber errno when calling close(2) in example code. | otto | 2005-11-15 | 1 | -2/+6 | |
| | | | | From form@ via mpech@ | |||||
* | save errno in example code. from mpech@ ok jmc@ | otto | 2005-11-13 | 1 | -1/+3 | |
| | ||||||
* | add $OpenBSD$ tags, as requested by dtucker. | espie | 2005-11-10 | 1 | -0/+1 | |
| | ||||||
* | `ether_addr' is the name of a structure, not a function: remove its MLINK | jmc | 2005-10-02 | 2 | -4/+3 | |
| | | | | and remove its entry from the .Nm list; | |||||
* | zap rcsid. | espie | 2005-08-06 | 47 | -375/+234 | |
| | | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@ | |||||
* | Restore recent changes except for the actual one that causes the problem. | millert | 2005-07-27 | 1 | -20/+8 | |
| | ||||||
* | backout gethostent changes for now -- there is fallout, discovered by otto | jaredy | 2005-07-27 | 1 | -10/+22 | |
| | ||||||
* | In _gethtent() ignore host.h_length if it is set to 0. Previously | millert | 2005-07-24 | 1 | -10/+7 | |
| | | | | | | we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@ | |||||
* | *hostent() fixes: | jaredy | 2005-07-23 | 1 | -22/+13 | |
| | | | | | | | | | | | | - Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert |