Fix braino of mine where the reseeds would happen far too often, making the kernel process way too busy.
PR: 230808
Submitted by: Conrad Meyer <cem@FreeBSD.org>
Reported by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
Differential D16866
Fix excessive reseeding in random(4). markm on Aug 23 2018, 1:16 PM. Authored by Tags None Referenced Files
Details Fix braino of mine where the reseeds would happen far too often, making the kernel process way too busy. PR: 230808 Make the PRNG work hard while doing something intensive like "make
Diff Detail
Event TimelineComment Actions Please commit these patches separately. They deal w/ different issues.
Comment Actions (Approved — phab won't let me mark it as such because it is "closed.") @jmg , @markm : Thanks, I also prefer the two independent pieces split into separate patches. This one looks obviously correct to me. Go ahead and commit it. It fixes a security weakness in our implementation relative to spec Fortuna, so I'd be sure to tag the commit with "Security: yes." |