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)
Wed, Dec 31, 10:29 AM
Unknown Object (File)
Dec 1 2025, 3:45 AM
Unknown Object (File)
Nov 27 2025, 3:54 PM
Unknown Object (File)
Nov 25 2025, 2:56 PM
Unknown Object (File)
Nov 18 2025, 8:24 AM
Unknown Object (File)
Nov 18 2025, 6:20 AM
Unknown Object (File)
Nov 9 2025, 9:45 PM
Unknown Object (File)
Nov 4 2025, 11:12 PM
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.