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)
Tue, Apr 28, 10:31 AM
Unknown Object (File)
Mon, Apr 27, 3:27 PM
Unknown Object (File)
Fri, Apr 24, 12:28 PM
Unknown Object (File)
Sat, Apr 18, 9:35 PM
Unknown Object (File)
Fri, Apr 17, 4:23 AM
Unknown Object (File)
Thu, Apr 16, 4:57 AM
Unknown Object (File)
Wed, Apr 15, 2:07 AM
Unknown Object (File)
Mon, Apr 13, 7:16 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 19084

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.