3 ms·
This is just due to ignorance, Linux provides a AT_RANDOM auxv on process creation that could be used to seed the prng.
by nwmcsween 12y ago
This is just due to ignorance, Linux provides a AT_RANDOM auxv on process creation that could be used to seed the prng.
- enjolras 12y agolook 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 agoIs 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 agoNo. It's only filled on execve, not fork.