summaryrefslogtreecommitdiff
path: root/mm-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-05-03 13:00:00 -0400
committerNick Mathewson <nickm@torproject.org>2010-05-03 13:00:00 -0400
commit20fda296c5faada095c7122244ecd6beff1c0931 (patch)
treea9df0bd84c5c1ac9510c44a3227437d29b539cb8 /mm-internal.h
parent71afc525804f416cfaabf4ec253f725fe3ec6822 (diff)
downloadlibevent-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