]> granicus.if.org Git - python/commit
(Merge 3.5) Catch EPERM error in py_getrandom()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 20 Sep 2016 20:49:52 +0000 (22:49 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 20 Sep 2016 20:49:52 +0000 (22:49 +0200)
commit75024c6589539f72af69ce61cd6493b193989c2d
tree462b1f0020008ed484efc83a5b0eb3cd74fc016e
parent7582bcaa8faf348fb6894617846ba41b5782ea06
parent6d8bc46cc0ebe75d86d00a6ee7c452beea761c42
(Merge 3.5) 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