]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: implement get_random_u32_inclusive()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 16 May 2023 21:03:30 +0000 (21:03 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 29 Nov 2023 16:36:03 +0000 (16:36 +0000)
commit5d493a9556ff9c60519838f7a27df60bf695187a
tree5dbbcc337b27142c5e6c1b421a4a3aab252fe4f0
parentd7ae58192a9a966929220bc8c6b5280bf73e8437
LinuxKPI: implement get_random_u32_inclusive()

Implementation of get_random_u32_inclusive().
This is needed by an update for wireless drivers.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 1dcd1a539275fe69173bfc4dfc32c963fc7dcdbe)
sys/compat/linuxkpi/common/include/linux/random.h