diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2014-06-17 00:37:08 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2014-06-17 00:37:08 +0000 |
commit | ac3eaa728ce90e027d223b1780009c8931e5e427 (patch) | |
tree | ea5ee9c80d66e89368b64a5196c04a26035211e2 /sys | |
parent | e5f291212fa18162d17c9925b628ce4d57f0e877 (diff) |
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 'sys')
0 files changed, 0 insertions, 0 deletions