1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/init
Jonas 'Sortie' Termansen f864c59d0d Mix in fresh randomness when writing out /boot/random.seed.
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.
2017-09-06 23:41:05 +02:00
..
.gitignore Move init to its own directory. 2014-12-26 21:48:15 +01:00
init.8 Clean /tmp on boot. 2017-07-05 14:52:30 -05:00
init.c Mix in fresh randomness when writing out /boot/random.seed. 2017-09-06 23:41:05 +02:00
Makefile Remove VERSIONSTR define for programs not using it. 2017-03-19 17:34:19 +01:00