3 ms·
Let's not forget the massive pain that /dev/urandom being a file was, that they had to add a syscall for it: getrandom()
by 21 8y ago
Let's not forget the massive pain that /dev/urandom being a file was, that they had to add a syscall for it: getrandom()
- Aaron1011 8y agoI thought that the issue with /dev/urandom was that it wouldn't block when read shortly after startup (when the entropy pool wasn't yet initialized).
- mmebane 8y agoThat's part of it. Another concern was ensuring that fetching a random number couldn't fail due to file descriptor exhaustion. [1] [1]: https://lwn.net/Articles/605828/ https://lwn.net/Articles/605828/
- hsivonen 8y agoLikewise, it would be nice if on ARMv7 one could figure out if NEON is available without having to have permission to open a file under /proc.