<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 6, 2017 at 1:42 AM, Nemo <span dir="ltr"><<a href="mailto:nemo@self-evident.org" target="_blank">nemo@self-evident.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Florian Weimer <<a href="mailto:fw@deneb.enyo.de">fw@deneb.enyo.de</a>> writes:<br>
<br>
> * Theodore Ts'o:<br>
<span class="gmail-">><br>
>> The only thing you can do is what getrandom(2) does, which is block.<br>
><br>
> That's a non-starter because it would halt the boot process.  In the<br>
> futrue, we will need something like arc4random during process<br>
> initialization.  And if we block there, the system will never proceed<br>
> to the point where it generates more entropy.<br>
<br>
</span>Wait, so you are adding a function with the same (ill-chosen) name as<br>
the BSDs, but giving it subtly different and less secure semantics?<br><br></blockquote><div><br></div><div><div>I'm interested in what it will be needed for in the future. Why would glibc need large amounts of good quality random shortly after first boot, in a scenario where the owner can't provide randomness in advance?<br></div><div><br></div><div>If good randomness is really becoming critical to early startup, does it make sense to treat it like a broken filesystem and explicitly halt?</div></div><div><br></div><div><br></div><div>Mark</div></div><br></div></div>