HomeFreeBSD

random(4): Add is_random_seeded(9) KPI

Description

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.

(cherry picked from commit f3d2512db6ec23985b10fbcbe0b3bd34ea2574df)

Details

Provenance
cemAuthored on Apr 16 2019, 5:12 PM
obrienCommitted on Feb 13 2022, 6:34 AM
Parents
rGe9c023a47aed: random(4): Block read_random(9) on initial seeding
Branches
Unknown
Tags
Unknown