Page MenuHomeFreeBSD

Use arc4rand() instead of read_random()
ClosedPublic

Authored by tuexen on Aug 23 2018, 7:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 9, 9:35 AM
Unknown Object (File)
Sun, Mar 8, 6:03 PM
Unknown Object (File)
Sun, Mar 8, 4:15 AM
Unknown Object (File)
Sun, Mar 8, 12:57 AM
Unknown Object (File)
Sun, Mar 1, 5:54 AM
Unknown Object (File)
Sat, Feb 28, 11:32 PM
Unknown Object (File)
Sat, Feb 28, 11:36 AM
Unknown Object (File)
Fri, Feb 27, 6:29 PM
Subscribers

Details

Summary

jmg@ has suggested to use arc4rand() instead of read_random() as indicated by the man read_random.

Diff Detail

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

Event Timeline

jmg added reviewers: gordon, delphij.

IMO, looks good to me.

Added our SO as well.

Add secteam instead of just me.

LGTM.

It seems that the other read_random instances in network stack should do the same as well (probably beyond scope of this changeset though).

This revision is now accepted and ready to land.Aug 23 2018, 6:16 PM
This revision was automatically updated to reflect the committed changes.