Re: [PATCH RFC] random: getrandom(2): don't block on non-initialized entropy pool

2019-09-14 Thread Alexander E. Patrakov
(resending without HTML this time, sorry for the duplicate) 14.09.2019 17:25, Ahmed S. Darwish пишет: getrandom() has been created as a new and more secure interface for pseudorandom data requests. Unlike /dev/urandom, it unconditionally blocks until the entropy pool has been properly initialize

[PATCH RFC] random: getrandom(2): don't block on non-initialized entropy pool

2019-09-14 Thread Ahmed S. Darwish
getrandom() has been created as a new and more secure interface for pseudorandom data requests. Unlike /dev/urandom, it unconditionally blocks until the entropy pool has been properly initialized. While getrandom() has no guaranteed upper bound for its waiting time, user-space has been abusing it