HomeFreeBSD

random(4): Don't complain noisily when an entropy source is slow

Description

random(4): Don't complain noisily when an entropy source is slow

Mjg@ reports that RDSEED (r347239) causes a lot of logspam from this printf,
and I don't feel that it is especially useful (even ratelimited). There are
many other quality/quantity checks we're not performing on entropy sources;
lack of high frequency availability does not disqualify a good entropy
source.

There is some discussion in the linked Differential about what logging might
be appropriate and/or polling policy for slower TRNG sources. Please feel
free to chime in if you have opinions.

Reported by: mjg
Reviewed by: markm, delphij
Approved by: secteam(delphij)
X-MFC-With: r347239
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D20195

Details

Provenance
cemAuthored on
Reviewer
markm
Differential Revision
D20195: random: Don't complain noisily when an entropy source is slow
Parents
rS347328: Avoid literal @generated tag in file-generating scripts
Branches
Unknown
Tags
Unknown