mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
f864c59d0d
When entropy gathering is implemented, in the case of the installer and upgrader, the system probably won't have any entropy when it begins. By the time the system is installed, there will probably be a bit of entropy from the user using the system and general system usage, so mix in some of that. In the case of init, after an installed system has run for a while, a lot of entropy will have gotten collected, but init will have its arc4random seeded with initial boot entry, so mix in some fresh entropy, so the random seed written on shutdown remains as entropic as possible. |
||
---|---|---|
.. | ||
.gitignore | ||
init.8 | ||
init.c | ||
Makefile |