Author 700eb415
Recipients 700eb415, alex
Date 2014-10-08.18:04:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412791444.63.0.024385605391.issue22542@psf.upfronthosting.co.za>
In-reply-to
Content
I'm reopening this for now as advised from the Linux getrandom() thread.

I agree we should not be using arc4random() blindly. However, in the long run it is a necessary change at least on OpenBSD. OpenBSD is not likely to create another syscall to avoid portability problems with OS X, so IMO it's best to utilize the existing calls on the system.

I'll work on some portable way of deterministically enabling it when needed and put a patch out for review. I think the payoff would be good when taking into account the security implications and cases where there are no available file descriptors.

Hopefully this could then be used as a template for getrandom() when implemented on Linux.
History
Date User Action Args
2014-10-08 18:04:04700eb415setrecipients: + 700eb415, alex
2014-10-08 18:04:04700eb415setmessageid: <1412791444.63.0.024385605391.issue22542@psf.upfronthosting.co.za>
2014-10-08 18:04:04700eb415linkissue22542 messages
2014-10-08 18:04:04700eb415create