Page MenuHomeFreeBSD

linuxkpi: Add prandom_u32_max
ClosedPublic

Authored by manu on May 22 2020, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 16, 9:19 PM
Unknown Object (File)
Sat, Mar 16, 9:19 PM
Unknown Object (File)
Sat, Mar 16, 9:19 PM
Unknown Object (File)
Sat, Mar 16, 9:19 PM
Unknown Object (File)
Thu, Mar 14, 5:48 AM
Unknown Object (File)
Feb 1 2024, 12:02 AM
Unknown Object (File)
Jan 7 2024, 4:19 AM
Unknown Object (File)
Jan 7 2024, 4:19 AM
Subscribers

Details

Summary

This is just a wrapper around arc4random_uniform
Needed by DRM v5.3

Sponsored-by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 22 2020, 8:45 PM
cem added inline comments.
sys/compat/linuxkpi/common/include/linux/random.h
68 ↗(On Diff #72125)

style(9): return (arc4random_uniform(max));

This revision now requires review to proceed.May 23 2020, 12:10 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 23 2020, 5:52 PM
Closed by commit rS361419: linuxkpi: Add prandom_u32_max (authored by manu). · Explain Why
This revision was automatically updated to reflect the committed changes.