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
Differential D24962
libkern: Add arc4random_uniform manu on May 22 2020, 5:21 PM. Authored by Tags None Referenced Files
Subscribers
Details
This variant get a random number up to the limit passed as the argument. Sponsored-by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions Hm, libc version is (or was) a separate file with a different copyright. Usual pattern in libkern is to just copy the libc files to libkern verbatim and only fixup as needed to compile. I don't know that we always have to do that, but we should at least confirm the arc4random_uniform copyright follows the code. Comment Actions Right, I didn't pay attention to the licence of the file when I opened it. I'll fix that in a bit |