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 martin.panter, ncoghlan, petr.viktorin, vstinner
Date 2016-09-07.03:07:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473217670.98.0.55195781542.issue27990@psf.upfronthosting.co.za>
In-reply-to
Content
Support for the getrandom() syscall requires syscall(), SYS_getrandom constant, GRND_NONBLOCK and GRND_RANDOM constants, linux/random.h header, etc.

I don't understand your request. configure doesn't check getrandom() syscall result:

        /* ignore the result, Python checks for ENOSYS and EAGAIN at runtime */
        (void)syscall(SYS_getrandom, buffer, buflen, flags);

I don't see how you can support getrandom() if the host doesn't have all constants to compile the C code. Do you have to hardcode constants?
History
Date User Action Args
2016-09-07 03:07:51vstinnersetrecipients: + vstinner, ncoghlan, petr.viktorin, martin.panter
2016-09-07 03:07:50vstinnersetmessageid: <1473217670.98.0.55195781542.issue27990@psf.upfronthosting.co.za>
2016-09-07 03:07:50vstinnerlinkissue27990 messages
2016-09-07 03:07:50vstinnercreate