]> granicus.if.org Git - python/commit
Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 18 Mar 2015 13:39:33 +0000 (14:39 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 18 Mar 2015 13:39:33 +0000 (14:39 +0100)
commit59f7fb29ec151ab64ace5056ab46cf8127a6dac2
tree3374b848d6346e5ce6ba314d4dd294dad39f567d
parent072248ec637a123dc348e6c1ffe075f85785111a
Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if
available, syscall introduced in the Linux kernel 3.17. It is more reliable
and more secure, because it avoids the need of a file descriptor and waits
until the kernel has enough entropy.
Misc/NEWS
Python/random.c