tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /dev/random is hot garbage



On Sun, Jul 21, 2019 at 04:53:08PM +0000, Taylor R Campbell wrote:
>   It has become popular to redefine the traditional semantics of
>   /dev/random or /dev/urandom so that one or both will block once at
>   boot until the OS thinks the entropy pool may have been seeded, and
>   then never block again.
> 
>   I don't want to do this because code paths that may block but only
>   in extreme circumstances, like early at boot on an embedded system,
>   are likely never to be exercised even during what might otherwise be
>   extensive testing, and as noted blocking when not expected can have
>   severe consequences.

It currently blocks for literally hours/days. We can't have the OS not
function due to this purity.


Home | Main Index | Thread Index | Old Index