summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-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