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)
Tue, Apr 16, 8:57 PM
Unknown Object (File)
Tue, Apr 16, 3:28 AM
Unknown Object (File)
Nov 5 2023, 12:40 PM
Unknown Object (File)
Oct 12 2023, 12:50 AM
Unknown Object (File)
Oct 4 2023, 11:39 AM
Unknown Object (File)
Sep 30 2023, 1:44 PM
Unknown Object (File)
Sep 2 2023, 9:52 AM
Unknown Object (File)
Sep 2 2023, 9:49 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.