diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2019-04-16 17:12:17 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2019-04-16 17:12:17 +0000 |
commit | f3d2512db6ec23985b10fbcbe0b3bd34ea2574df (patch) | |
tree | 362456f2c947da3e40f2af0117dbaf150fd0fd3d /UPDATING | |
parent | 2866548c8a947b478c5700a7fac0c85d0b5ccaed (diff) | |
download | src-test2-f3d2512db6ec23985b10fbcbe0b3bd34ea2574df.tar.gz src-test2-f3d2512db6ec23985b10fbcbe0b3bd34ea2574df.zip |
random(4): Add is_random_seeded(9) KPI
The imagined use is for early boot consumers of random to be able to make
decisions based on whether random is available yet or not. One such
consumer seems to be __stack_chk_init(), which runs immediately after random
is initialized. A follow-up patch will attempt to address that.
Reported by: many
Reviewed by: delphij (except man page)
Approved by: secteam(delphij)
Differential Revision: https://reviews.freebsd.org/D19926
Notes
Notes:
svn path=/head/; revision=346282
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20190416: + The loadable random module KPI has changed; the random_infra_init() + routine now requires a 3rd function pointer for a bool (*)(void) + method that returns true if the random device is seeded (and + therefore unblocked). + 20190404: r345895 reverts r320698. This implies that an nfsuserd(8) daemon built from head sources between r320757 (July 6, 2017) and |