Page MenuHomeFreeBSD

random(4): Add is_random_seeded(9) KPI
ClosedPublic

Authored by cem on Apr 16 2019, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 12:27 AM
Unknown Object (File)
Sun, Nov 17, 12:28 AM
Unknown Object (File)
Sat, Nov 16, 11:30 PM
Unknown Object (File)
Mon, Oct 28, 11:06 AM
Unknown Object (File)
Sun, Oct 27, 10:01 AM
Unknown Object (File)
Fri, Oct 25, 6:11 AM
Unknown Object (File)
Fri, Oct 25, 6:11 AM
Unknown Object (File)
Fri, Oct 25, 6:11 AM

Details

Summary

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.

Test Plan

If expediency is possible, I would appreciate it.

Tinderbox seems happy with the functional changes.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cem planned changes to this revision.Apr 16 2019, 4:34 PM

Ah, this deserves a manual page link to random.9 and random.9 update.

document in random.9 and add link

This revision was not accepted when it landed; it landed in state Needs Review.Apr 16 2019, 5:12 PM
This revision was automatically updated to reflect the committed changes.