mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
hostapd: use getrandom syscall
hostapd will not use the getrandom() syscall and as a fallback use /dev/random, the syscall is supported since Linux 3.17 and in the musl, glibc and uclibc version used by OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
0d86bf518a
commit
998686364d
@ -262,7 +262,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# Should we use poll instead of select? Select is used by default.
|
# Should we use poll instead of select? Select is used by default.
|
||||||
#CONFIG_ELOOP_POLL=y
|
#CONFIG_ELOOP_POLL=y
|
||||||
|
@ -262,7 +262,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# Should we use poll instead of select? Select is used by default.
|
# Should we use poll instead of select? Select is used by default.
|
||||||
#CONFIG_ELOOP_POLL=y
|
#CONFIG_ELOOP_POLL=y
|
||||||
|
@ -262,7 +262,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# Should we use poll instead of select? Select is used by default.
|
# Should we use poll instead of select? Select is used by default.
|
||||||
#CONFIG_ELOOP_POLL=y
|
#CONFIG_ELOOP_POLL=y
|
||||||
|
@ -473,7 +473,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
||||||
#CONFIG_IEEE80211N=y
|
#CONFIG_IEEE80211N=y
|
||||||
|
@ -473,7 +473,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
||||||
#CONFIG_IEEE80211N=y
|
#CONFIG_IEEE80211N=y
|
||||||
|
@ -473,7 +473,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
||||||
#CONFIG_IEEE80211N=y
|
#CONFIG_IEEE80211N=y
|
||||||
|
@ -473,7 +473,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||||||
# Should we attempt to use the getrandom(2) call that provides more reliable
|
# Should we attempt to use the getrandom(2) call that provides more reliable
|
||||||
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
|
||||||
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
|
||||||
#CONFIG_GETRANDOM=y
|
CONFIG_GETRANDOM=y
|
||||||
|
|
||||||
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
# IEEE 802.11n (High Throughput) support (mainly for AP mode)
|
||||||
#CONFIG_IEEE80211N=y
|
#CONFIG_IEEE80211N=y
|
||||||
|
Loading…
Reference in New Issue
Block a user