Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> EDIT: Which makes me curious how Linux filled AT_RANDOM for init(1) and other early boot time processes. But not curious enough to comb through old code...

It uses get_random_bytes(), which is documented as "equivalent to a read from /dev/urandom."

https://github.com/torvalds/linux/blob/v5.4/fs/binfmt_elf.c#...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: