diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-05-03 13:00:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-05-03 13:00:00 -0400 |
commit | 20fda296c5faada095c7122244ecd6beff1c0931 (patch) | |
tree | a9df0bd84c5c1ac9510c44a3227437d29b539cb8 /mm-internal.h | |
parent | 71afc525804f416cfaabf4ec253f725fe3ec6822 (diff) | |
download | libevent-20fda296c5faada095c7122244ecd6beff1c0931.tar.gz |
Try /proc on Linux as entropy fallback; use sysctl as last resort
It turns out that the happy fun Linux kernel is deprecating sysctl,
and using sysctl to fetch entropy will spew messages in the kernel
logs. Let's not do that. Instead, let's call sysctl for our
entropy only when all other means fail.
Additionally, let's add another means, and try
/proc/sys/kernel/random/uuid if /dev/urandom fails.
Diffstat (limited to 'mm-internal.h')
0 files changed, 0 insertions, 0 deletions