Commit ID: 1005D63030F790860AE
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/08/25 21:59:09 UTC
Modified files:
etc : rc
distrib/common : install.sh
sbin/init : init.c
Log message:
make restirring of entropy a bit more reliable:
• writing to wrandom [prandom] needs at most 128 octets to re-stir,
but then waiting for at 1‥3 seconds is necessary (or a pid1 flush)
• reading (except from, currently, srandom and urandom) has been
retrieving arandom data for a while already so skip prandom read
• writing arandom (as root) restirs… if it’s more than 0 octets ☺
but no need to sleep afterwards
• stir as much as possible just before openssl genrsa
• handle unchecked result of read(2) in init(8)
• clean up output of installer, while here anyway
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.130 -r1.131 src/etc/rc
cvs -R rdiff -kk -upr1.29 -r1.30 src/distrib/common/install.sh
cvs -R rdiff -kk -upr1.11 -r1.12 src/sbin/init/init.c