Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specific | guenther | 2016-04-05 | 1 | -4/+4 |
| | | | | | | data isn't necessary. ok mpi@, ok&tweak natano@ | ||||
* | Wrap <resolv.h> so that internal calls go direct | guenther | 2015-10-05 | 1 | -2/+3 |
| | | | | ok millert@ | ||||
* | force reseeding if pid has changed. | eric | 2015-06-04 | 1 | -2/+7 |
| | | | | ok deraadt@ | ||||
* | From ISO/IEC 9899:1999 and 9899:201x, | guenther | 2014-07-20 | 1 | -2/+2 |
| | | | | | | | | | 6.11.5 - Storage-class specifiers: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Diff from Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz) | ||||
* | permute15() should be static. Not cranking libc now, because it is | deraadt | 2013-11-12 | 1 | -2/+2 |
| | | | | not urgent. | ||||
* | use CLOCK_MONOTONIC, and repair future time_t overflow | deraadt | 2013-04-17 | 1 | -8/+8 |
| | | | | ok millert guenther | ||||
* | protect the PRG state with a mutex in res_randomid(). | eric | 2013-03-26 | 1 | -2/+13 |
| | | | | ok deraadt@ guenther@ djm@ | ||||
* | 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@ | ||||
* | ansify. ok deraadt@ moritz@ | otto | 2005-03-25 | 1 | -3/+3 |
| | |||||
* | niels kindly dropped clause 3/4 from the license. tnx! | itojun | 2003-12-12 | 1 | -6/+1 |
| | |||||
* | we can skip arc4random() call here. markus | itojun | 2003-12-12 | 1 | -2/+2 |
| | |||||
* | correct non-repetitive ID code, based on comments from niels provos. | itojun | 2003-12-10 | 1 | -12/+16 |
| | | | | | | - seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x". - skipping number is not needed, so disable it for 16bit generator (makes the repetition period to 30000) | ||||
* | %d -> %u. mostly in #ifdef DEBUG. | itojun | 2002-06-27 | 1 | -6/+6 |
| | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | millert | 2002-02-19 | 1 | -7/+1 |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 1 | -3/+3 |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | ||||
* | grammer/spelling | todd | 2001-01-04 | 1 | -2/+2 |
| | |||||
* | add an inner xor to make prediction attacks against the ids harder, due | provos | 1999-08-26 | 1 | -3/+5 |
| | | | | to an attack pointed out by David Wagner. | ||||
* | #if __STDC__ --> #ifdef __STDC__ | mickey | 1997-07-25 | 1 | -2/+2 |
| | |||||
* | Be more careful about possible type promotion | tholo | 1997-04-30 | 1 | -1/+6 |
| | |||||
* | skipped too many ids | provos | 1997-04-25 | 1 | -2/+2 |
| | |||||
* | pmod to u_int16_t, Angelos kindly reminded me | provos | 1997-04-23 | 1 | -5/+5 |
| | |||||
* | change time() to gettimeofday() | provos | 1997-04-19 | 1 | -5/+8 |
| | |||||
* | make things more complicated. | provos | 1997-04-19 | 1 | -13/+46 |
| | |||||
* | the before mentioned random number generator. | provos | 1997-04-13 | 1 | -0/+192 |