diff options
author | matthew <> | 2014-06-17 00:37:07 +0000 |
---|---|---|
committer | matthew <> | 2014-06-17 00:37:07 +0000 |
commit | 88d033d7119534e2d393e83cceadc515efa6cc63 (patch) | |
tree | 7e8e3e42c22eb663855b2fb9e0fdfca34e79a0a8 /src/lib/libc/stdlib/srand48.c | |
parent | 9cd67deb5b6265da156e95e5dbf2319351e5ac2f (diff) | |
download | openbsd-88d033d7119534e2d393e83cceadc515efa6cc63.tar.gz openbsd-88d033d7119534e2d393e83cceadc515efa6cc63.tar.bz2 openbsd-88d033d7119534e2d393e83cceadc515efa6cc63.zip |
Use MAP_INHERIT_ZERO in arc4random(3)
Now instead of calling getpid() each time a user invokes arc4random(),
we're able to rely on the kernel zero'ing out the RNG state if the
process forks.
ok deraadt, djm
Diffstat (limited to 'src/lib/libc/stdlib/srand48.c')
0 files changed, 0 insertions, 0 deletions