This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dstufft, jbeck, tim.peters, vstinner
Date 2015-09-11.21:12:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442005926.87.0.0432148606507.issue25003@psf.upfronthosting.co.za>
In-reply-to
Content
>  While testing this, I found out why I had needed EINVAL earlier (and still do, for now): there is a bug in the Solaris implementation of getrandom(2).  If flags are 0 and the buffer size > 1024, then it fails with EINVAL.  That is only supposed to happen for a buffer that big if GNRD_RANDOM is set in flags but GNRD_NONBLOCK is not set.  So until that bug is fixed, ...

Ah! So it was useful to dig the EINVAL issue, it's a bug in the kernel :-)

You wrote that the final version of Solaris 11.3 and 12 was not released yet. Can we expect a fix in the kernel before the final version?
History
Date User Action Args
2015-09-11 21:12:06vstinnersetrecipients: + vstinner, tim.peters, dstufft, jbeck
2015-09-11 21:12:06vstinnersetmessageid: <1442005926.87.0.0432148606507.issue25003@psf.upfronthosting.co.za>
2015-09-11 21:12:06vstinnerlinkissue25003 messages
2015-09-11 21:12:06vstinnercreate