SIGN IN SIGN UP

Fix os.urandom() using getrandom() on Linux

Issue #27278: Fix os.urandom() implementation using getrandom() on Linux.
Truncate size to INT_MAX and loop until we collected enough random bytes,
instead of casting a directly Py_ssize_t to int.
V
Victor Stinner committed
b98a36e8f3006512f0fa4d94309fb9918eb8abdd
Parent: fd7f19e