Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
viraptor
on Sept 1, 2015
|
parent
|
context
|
favorite
| on:
Myths about /dev/urandom
One point of a direct syscall is that you don't have to open any files. That protects you from file descriptor exhaustion attacks.
cperciva
on Sept 1, 2015
[–]
Another point is that it still works if you're inside a chroot / jail / container / with no devices visible.
rakoo
on Sept 1, 2015
|
parent
[–]
In a way, that's the point of chroot/jail/container: isolate the host filesystem from the guest, so the script that creates it should take /dev into account if it is needed
Dylan16807
on Sept 1, 2015
|
root
|
parent
[–]
The point is to isolate access to the host, and single secure random numbers have nothing to do with the host.
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: