Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nwmcsween
· 12y ago · 0 comments
This is just due to ignorance, Linux provides a AT_RANDOM auxv on process creation that could be used to seed the prng.
Comments
[–]
enjolras
12y ago
look at the code. AT_RANDOM is. used when it's avaible in the fallback function. For some reason, the devs don't seem to trust it much, according to the comment.
[–]
edwintorok
12y ago
Is it guaranteed to at least be different for different processes? They could use that in addition to the PID test to know when to reseed.
[–]
wahern
12y ago
No. It's only filled on execve, not fork.