Re: [PATCH v1] random: block in /dev/urandom

From: Jason A. Donenfeld
Date: Mon Apr 25 2022 - 07:12:29 EST


Hi Guenter,

On Sun, Apr 24, 2022 at 06:54:10PM -0700, Guenter Roeck wrote:
> On 4/24/22 17:12, Jason A. Donenfeld wrote:
> > Hi Guenter,
> >
> > On Sat, Apr 23, 2022 at 07:04:26PM -0700, Guenter Roeck wrote:
> >> I'll run another test tonight.
> >
> > Super, thanks. Looking forward to learning what transpires. Hopefully
> > all pass this time through...
> >
>
> Build results:
> total: 147 pass: 146 fail: 1
> Failed builds:
> m68k:allmodconfig
> Qemu test results:
> total: 489 pass: 489 fail: 0
>
> The failure is inherited from mainline, so all looks good.

That is excellent news! Thanks again for testing.

So what this means is: the rationale for reverting the /dev/random +
/dev/urandom unification has now been fixed. That's some real tangible
progress.

Now, I don't want to rush into trying the unification again too soon. I
think if anything, the lesson from the first attempt wasn't simply, "I
should fix a few of Guenter's test cases," but rather that the problem
is fairly nuanced and will take a lot wider testing and research.
However, the fact that the initial thing, across multiple platforms,
that lead to the revert has been fixed gives me a decent amount of
optimism that at /some point/ down the road, we'll be able to try this
again. One step at a time.

Jason