summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 09:06:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 09:06:40 +0000
commit50118cba9e5f1b019a125321ec7a960f49148302 (patch)
tree61f6d9819bc89e12411704aa8c02bb70d19f2d80 /extra/Configs/Config.in
parent91f3e82038ed8c864242d741b1a74575392f14dd (diff)
import the arc4random() function by ashes in Bug 90
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r--extra/Configs/Config.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 61402c0f8..554de804e 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1231,6 +1231,19 @@ config UCLIBC_BUILD_PIE
libraries have to be built with -fPIC or -fpic, and all assembler
functions must be written as position independent code (PIC).
+config UCLIBC_HAS_ARC4RANDOM
+ bool "Include the arc4random() function"
+ default n
+ help
+ Answer Y to support the OpenBSD-like arc4random() function. This
+ function picks a random number between 0 and N, and will always return
+ something even if the random driver is dead. If urandom fails then
+ gettimeofday(2) will be used as the random seed. This function is
+ designed to be more dependable than invoking /dev/urandom directly.
+ OpenSSL and OpenNTPD currently support this function.
+
+ Most people will answer N.
+
config HAVE_NO_SSP
bool
default n