]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
random(4): Add is_random_seeded(9) KPI
authorcem <cem@FreeBSD.org>
Tue, 16 Apr 2019 17:12:17 +0000 (17:12 +0000)
committercem <cem@FreeBSD.org>
Tue, 16 Apr 2019 17:12:17 +0000 (17:12 +0000)
commitdec0f8b5924d762f785125231e4adfed7296b614
tree362456f2c947da3e40f2af0117dbaf150fd0fd3d
parent952f3ca34e937e605c6507bd9986e681a523c701
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
UPDATING
share/man/man9/Makefile
share/man/man9/random.9
sys/dev/random/random_infra.c
sys/dev/random/randomdev.c
sys/dev/random/randomdev.h
sys/sys/param.h
sys/sys/random.h