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>
Details
Details
- Reviewers
cem jmg delphij - Group Reviewers
secteam O3: Kernel Random Numbers Generator - Commits
- rS338292: Fix braino of mine where the reseeds would happen far too often,
Make the PRNG work hard while doing something intensive like "make
world". To make the PRNG work hard, do e.g.
$ dd if=/dev/random of=/dev/null bs=$((1024*1024))
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Apologies to delphij for abandoning the previous identical-looking commit. I was making a pig's ear of the archanist work.
Comment Actions
Copied from earlier review D16866:
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."