freebsd-skq/sys/mips
cem 4c79b5f69c random(4): Restore availability tradeoff prior to r346250
As discussed in that commit message, it is a dangerous default.  But the
safe default causes enough pain on a variety of platforms that for now,
restore the prior default.

Some of this is self-induced pain we should/could do better about; for
example, programmatic CI systems and VM managers should introduce entropy
from the host for individual VM instances.  This is considered a future work
item.

On modern x86 and Power9 systems, this may be wholly unnecessary after
D19928 lands (even in the non-ideal case where early /boot/entropy is
unavailable), because they have fast hardware random sources available early
in boot.  But D19928 is not yet landed and we have a host of architectures
which do not provide fast random sources.

This change adds several tunables and diagnostic sysctls, documented
thoroughly in UPDATING and sys/dev/random/random_infra.c.

PR:		230875 (reopens)
Reported by:	adrian, jhb, imp, and probably others
Reviewed by:	delphij, imp (earlier version), markm (earlier version)
Discussed with:	adrian
Approved by:	secteam(delphij)
Relnotes:	yeah
Security:	related
Differential Revision:	https://reviews.freebsd.org/D19944
2019-04-18 20:48:54 +00:00
..
atheros The Atheros AR7241 has 20 GPIO pins 2019-03-25 07:48:52 +00:00
beri Add SMP support for BERI CPU. 2018-04-12 17:43:19 +00:00
broadcom add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00
cavium Performance improvements for octe(4): 2019-02-10 20:13:59 +00:00
conf random(4): Restore availability tradeoff prior to r346250 2019-04-18 20:48:54 +00:00
include amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
ingenic [mips] Unbreak kernel build for CI20 2019-01-25 20:10:57 +00:00
malta add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00
mediatek Fix access to cpu_model[] in mtk_soc_set_cpu_model() 2018-11-19 06:48:48 +00:00
mips amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
nlm [mips] Fix error condition check that always evaluates to false 2019-01-25 20:14:28 +00:00