HomeFreeBSD

libkern: Add arc4random_uniform

Description

libkern: Add arc4random_uniform

This variant get a random number up to the limit passed as the argument.
This is simply a copy of the libc version.

Sponsored-by: The FreeBSD Foundation
Reviewed by: cem, hselasky (previous version)
Differential Revision: https://reviews.freebsd.org/D24962

Details

Provenance
manuAuthored on
Reviewer
cem
Differential Revision
D24962: libkern: Add arc4random_uniform
Parents
rS361417: Fix one case of an ext_pgs mbuf change that I missed.
Branches
Unknown
Tags
Unknown