Re: [PATCH v5 08/11] um: use fallback for random_get_entropy() instead of zero

2022-04-19 Thread Jason A. Donenfeld
Hi Johannes, On Tue, Apr 19, 2022 at 01:33:21PM +0200, Johannes Berg wrote: > On Tue, 2022-04-19 at 13:16 +0200, Jason A. Donenfeld wrote: > > In the event that random_get_entropy() can't access a cycle counter or > > similar, falling back to returning 0 is really not the best we can do. > > Inste

Re: [PATCH v5 08/11] um: use fallback for random_get_entropy() instead of zero

2022-04-19 Thread Johannes Berg
On Tue, 2022-04-19 at 13:16 +0200, Jason A. Donenfeld wrote: > In the event that random_get_entropy() can't access a cycle counter or > similar, falling back to returning 0 is really not the best we can do. > Instead, at least calling random_get_entropy_fallback() would be > preferable, because tha