diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-20 20:46:02 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-20 20:46:02 (GMT) |
commit | 6d8bc46cc0ebe75d86d00a6ee7c452beea761c42 (patch) | |
tree | 9faa6a2af765f6caf862be1b59800f12beb5780a /Lib | |
parent | af59732102e98c9a26b7530e9138c8a63c6495d8 (diff) | |
download | cpython-6d8bc46cc0ebe75d86d00a6ee7c452beea761c42.zip cpython-6d8bc46cc0ebe75d86d00a6ee7c452beea761c42.tar.gz cpython-6d8bc46cc0ebe75d86d00a6ee7c452beea761c42.tar.bz2 |
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.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions