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, Apr 6, 9:23 PM
Unknown Object (File)
Mon, Mar 30, 6:03 AM
Unknown Object (File)
Tue, Mar 24, 9:50 AM
Unknown Object (File)
Wed, Mar 18, 11:38 PM
Unknown Object (File)
Feb 26 2026, 10:41 AM
Unknown Object (File)
Feb 24 2026, 12:28 AM
Unknown Object (File)
Dec 31 2025, 10:29 AM
Unknown Object (File)
Dec 1 2025, 3:45 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.