]> granicus.if.org Git - python/commit
Catch EPERM error in py_getrandom()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 20 Sep 2016 20:46:02 +0000 (22:46 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 20 Sep 2016 20:46:02 +0000 (22:46 +0200)
commit6d8bc46cc0ebe75d86d00a6ee7c452beea761c42
tree9faa6a2af765f6caf862be1b59800f12beb5780a
parentaf59732102e98c9a26b7530e9138c8a63c6495d8
Catch EPERM error in py_getrandom()

Issue #27955: Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
Misc/NEWS
Python/random.c