Message228246
| Author |
700eb415 |
| Recipients |
700eb415 |
| Date |
2014年10月02日.17:47:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412272060.2.0.302379812254.issue22542@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Trying to run the python interpreter in a chroot fails if /dev/urandom is not present. Removing the "nodev" flag from the filesystem is not ideal in many situations.
Instead, we should utilize functions such as OpenBSD's arc4random(3) and the new potential getentropy() Linux syscall. Alternatively, libevent provides a portable version of arc4random(3) as a workaround.
This issue has been discussed extensively when forking LibreSSL. Since we're already providing win32 exceptions, we should at least use the syscall rather than device if it's defined. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年10月02日 17:47:40 | 700eb415 | set | recipients:
+ 700eb415 |
| 2014年10月02日 17:47:40 | 700eb415 | set | messageid: <1412272060.2.0.302379812254.issue22542@psf.upfronthosting.co.za> |
| 2014年10月02日 17:47:40 | 700eb415 | link | issue22542 messages |
| 2014年10月02日 17:47:39 | 700eb415 | create |
|