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)
Sat, Nov 23, 5:04 PM
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)
Oct 25 2024, 6:11 AM
Unknown Object (File)
Oct 25 2024, 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23700
Build 22669: arc lint + arc unit

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.