[issue29397] linux/random.h present but cannot be compiled

Christian Heimes report at bugs.python.org
Thu Feb 28 07:13:22 EST 2019


Christian Heimes <lists at cheimes.de> added the comment:

It's a CentOS 5 system with Kernel 2.6.18. The getrandom() syscall was added in Linux Kernel version 3.17. Your OS simply lacks the necessary feature to use linux/random.h. Python will automatically fall back to /dev/urandom.

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29397>
_______________________________________


More information about the Python-bugs-list mailing list