Page MenuHomeFreeBSD

LinuxKPI: add get_random_u8()
ClosedPublic

Authored by bz on Aug 27 2024, 9:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 3:44 AM
Unknown Object (File)
Thu, Apr 30, 9:03 AM
Unknown Object (File)
Apr 27 2026, 7:55 AM
Unknown Object (File)
Apr 27 2026, 7:04 AM
Unknown Object (File)
Apr 26 2026, 11:33 PM
Unknown Object (File)
Apr 25 2026, 12:28 PM
Unknown Object (File)
Apr 25 2026, 7:16 AM
Unknown Object (File)
Apr 24 2026, 12:28 AM
Subscribers

Details

Summary

Add a get_random_u8() implementation following the u36 and u64 versions.
We'll likely want to macro-ify them in the future and add all the types
which makes sense just to e done.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Aug 27 2024, 9:22 PM

typo in commit message: "just to e done"

This revision is now accepted and ready to land.Aug 27 2024, 9:29 PM

typo in commit message: "just to e done"

+b locally [DONE]

This revision was automatically updated to reflect the committed changes.