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)
Mon, Oct 6, 6:23 AM
Unknown Object (File)
Sun, Oct 5, 2:40 AM
Unknown Object (File)
Aug 31 2025, 8:58 AM
Unknown Object (File)
Aug 29 2025, 11:32 PM
Unknown Object (File)
Aug 21 2025, 8:19 PM
Unknown Object (File)
Aug 2 2025, 2:43 PM
Unknown Object (File)
Jul 26 2025, 11:02 AM
Unknown Object (File)
Jul 22 2025, 8:17 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.