HomeFreeBSD

LinuxKPI: Add get_random_u32_below function

Description

LinuxKPI: Add get_random_u32_below function

get_random_u32_below returns a random integer in the interval [0, ceil),
with uniform distribution.

Sponsored by: Serenity CyberSecurity, LLC
Reviewed by: emaste
MFC after: 1 week

Details

Provenance
wulfAuthored on Apr 8 2024, 6:47 AM
Parents
rG38c276a43f2d: LinuxKPI: Add VM_ACCESS_FLAGS define to linux/mm.h
Branches
Unknown
Tags
Unknown