diff options
author | ache <ache@FreeBSD.org> | 2003-08-10 17:56:58 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2003-08-10 17:56:58 +0000 |
commit | 2dfbdc60227c57183359f3f15d82c61f411bcee8 (patch) | |
tree | b5d7c513f0aea7ac04c8af5f8a3b7e5e686d14e6 /sys/libkern | |
parent | 5e7abd79c07f622f5df9d159348606e542d7bfc9 (diff) | |
download | FreeBSD-src-2dfbdc60227c57183359f3f15d82c61f411bcee8.zip FreeBSD-src-2dfbdc60227c57183359f3f15d82c61f411bcee8.tar.gz |
Lower initial drop value to 50, it is enough to hide linearity
Diffstat (limited to 'sys/libkern')
-rw-r--r-- | sys/libkern/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/libkern/random.c b/sys/libkern/random.c index c97db75..ed47926 100644 --- a/sys/libkern/random.c +++ b/sys/libkern/random.c @@ -38,9 +38,9 @@ __FBSDID("$FreeBSD$"); #include <sys/libkern.h> -#define NSHUFF 100 /* to drop part of seed -> 1st value correlation */ +#define NSHUFF 50 /* to drop some "seed -> 1st value" linearity */ -static u_long randseed = 892053144; /* after srandom(1), NSHUFF counted */ +static u_long randseed = 937186357; /* after srandom(1), NSHUFF counted */ void srandom(seed) |