1. 20 Eyl, 2016 2 kayıt (commit)
    • Victor Stinner's avatar
      Catch EPERM error in py_getrandom() · 6d8bc46c
      Victor Stinner yazdı
      Issue #27955: Fallback on reading /dev/urandom device when the getrandom()
      syscall fails with EPERM, for example when blocked by SECCOMP.
      6d8bc46c
    • Victor Stinner's avatar
      Cleanup random.c · af597321
      Victor Stinner yazdı
      Issue #27955: modify py_getrnadom() and dev_urandom()
      
      * Add comments from Python 3.7
      * PEP 7 style: add {...}
      af597321
  2. 06 Eyl, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      os.urandom() now blocks on Linux · e66987e6
      Victor Stinner yazdı
      Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer
      until the system urandom entropy pool is initialized to increase the security.
      
      This change is part of the PEP 524.
      e66987e6
  3. 16 Agu, 2016 4 kayıt (commit)
  4. 29 Tem, 2016 1 kayıt (commit)
  5. 16 Haz, 2016 1 kayıt (commit)
  6. 14 Haz, 2016 2 kayıt (commit)
  7. 10 Haz, 2016 1 kayıt (commit)
  8. 08 Haz, 2016 1 kayıt (commit)
  9. 07 Haz, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      os.urandom() doesn't block on Linux anymore · dddf4849
      Victor Stinner yazdı
      Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
      to fall back on reading /dev/urandom if the urandom entropy pool is not
      initialized yet. Patch written by Colm Buckley.
      dddf4849
  10. 12 Nis, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Fix os.urandom() on Solaris 11.3 · 9d24271d
      Victor Stinner yazdı
      Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than
      1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per
      call.
      9d24271d
  11. 07 Kas, 2015 1 kayıt (commit)
  12. 01 Eki, 2015 2 kayıt (commit)
  13. 30 Eyl, 2015 1 kayıt (commit)
  14. 18 Eyl, 2015 1 kayıt (commit)
  15. 30 Tem, 2015 1 kayıt (commit)
    • Victor Stinner's avatar
      py_getrandom(): getrandom() *can* return EINTR · 61d5aab9
      Victor Stinner yazdı
      See the latest version of getrandom() manual page:
      http://man7.org/linux/man-pages/man2/getrandom.2.html#NOTES
      
          The behavior when a call to getrandom() that is blocked while reading from
          /dev/urandom is interrupted by a signal handler depends on the
          initialization state of the entropy buffer and on the request size, buflen.
          If the entropy is not yet initialized, then the call will fail with the
          EINTR error.  If the entropy pool has been initialized and the request size
          is large (buflen > 256), the call either succeeds, returning a partially
          filled buffer, or fails with the error EINTR.  If the entropy pool has been
          initialized and the request size is small (buflen <= 256), then getrandom()
          will not fail with EINTR.  Instead, it will return all of the bytes that
          have been requested.
      
      Note: py_getrandom() calls getrandom() with flags=0.
      61d5aab9
  16. 30 Mar, 2015 3 kayıt (commit)
  17. 19 Mar, 2015 3 kayıt (commit)
  18. 18 Mar, 2015 1 kayıt (commit)
  19. 17 Mar, 2015 1 kayıt (commit)
  20. 21 Şub, 2015 1 kayıt (commit)
  21. 21 Ara, 2014 2 kayıt (commit)
  22. 01 Ara, 2014 1 kayıt (commit)
  23. 06 May, 2014 1 kayıt (commit)
  24. 02 May, 2014 1 kayıt (commit)
  25. 26 Nis, 2014 1 kayıt (commit)
  26. 21 Ara, 2013 1 kayıt (commit)
  27. 20 Kas, 2013 1 kayıt (commit)
  28. 15 Kas, 2013 1 kayıt (commit)
  29. 06 Eki, 2013 1 kayıt (commit)