Conrad Meyer 3782136ff1 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
..
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
BCM
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-03-23 18:32:28 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-01-31 19:05:56 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2017-02-28 21:39:08 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2018-07-05 17:07:23 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2019-02-26 19:55:03 +00:00
2017-10-29 08:17:03 +00:00
2017-10-29 08:17:03 +00:00