diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-05-23 17:51:06 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-05-23 17:51:06 +0000 |
commit | 353d02e9276de65b4814fe3be161e74f8e59c9d7 (patch) | |
tree | a15c669c01395b328ac78340cb8be3d2bbef0cbf /sys/conf | |
parent | a82f62ec2d45216ea2a6a6854dc1ac35b6a97823 (diff) | |
download | src-353d02e9276de65b4814fe3be161e74f8e59c9d7.tar.gz src-353d02e9276de65b4814fe3be161e74f8e59c9d7.zip |
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
Notes
Notes:
svn path=/head/; revision=361418
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 9d6642bf9520..c7366e04a6b0 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3952,6 +3952,7 @@ kgssapi/gsstest.c optional kgssapi_debug # the file should be moved to conf/files.<arch> from here. # libkern/arc4random.c standard +libkern/arc4random_uniform.c standard libkern/asprintf.c standard libkern/bcd.c standard libkern/bsearch.c standard |