Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't use getentropy() on Linux | Victor Stinner | 2017-01-09 | 1 | -2/+9 |
| | | | | | | | Issue #29188: Support glibc 2.24 on Linux: don't use getentropy() function but read from /dev/urandom to get random bytes, for example in os.urandom(). On Linux, getentropy() is implemented which getrandom() is blocking mode, whereas os.urandom() should not block. | ||||
* | only include sys/random.h if it seems like it might have something useful ↵ | Benjamin Peterson | 2017-01-02 | 1 | -1/+1 |
| | | | | (#29057) | ||||
* | add a specific configure check for sys/random.h (closes #28932) | Benjamin Peterson | 2016-12-20 | 1 | -1/+1 |
| | |||||
* | Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. | Ned Deily | 2016-11-12 | 1 | -0/+3 |
| | | | | Initial patch by Gareth Rees. | ||||
* | Fix typo in comment | Martin Panter | 2016-06-10 | 1 | -1/+1 |
| | |||||
* | Issue #25003: os.urandom() doesn't use getentropy() on Solaris because | Victor Stinner | 2015-10-01 | 1 | -4/+8 |
| | | | | | getentropy() is blocking, whereas os.urandom() should not block. getentropy() is supported since Solaris 11.3. | ||||
* | Issue #23115: os.urandom() now releases the GIL when the getentropy() is used | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
| | | | | (OpenBSD 5.6+). | ||||
* | Issue #23458: On POSIX, the file descriptor kept open by os.urandom() is now | Victor Stinner | 2015-02-24 | 1 | -0/+9 |
| | | | | set to non inheritable | ||||
* | Issue #23115: Fixed compilation on OpenBSD (Py_MIN is not defined in 2.7). | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 |
| | |||||
* | use getentropy when available (backport of 75ede5bec8db) (closes #23115) | Benjamin Peterson | 2014-12-26 | 1 | -6/+35 |
| | |||||
* | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | PEP 466: backport persistent urandom fd (closes #21305) | Benjamin Peterson | 2014-08-28 | 1 | -16/+78 |
| | | | | Patch from Alex Gaynor. | ||||
* | Closes #15213: update comment for _PyOS_URandom | Georg Brandl | 2013-10-06 | 1 | -2/+3 |
| | |||||
* | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵ | Antoine Pitrou | 2013-08-16 | 1 | -2/+6 |
| | | | | due to something else than /dev/urandom not existing. | ||||
* | Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵ | Antoine Pitrou | 2012-09-07 | 1 | -1/+2 |
| | | | | | | opened. This was a regression caused by the hash randomization patch. | ||||
* | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | 2012-02-21 | 1 | -4/+8 |
| | |||||
* | - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED | Barry Warsaw | 2012-02-21 | 1 | -0/+302 |
environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner. |