Re: [PATCH] um: seed rng using host OS rng

Johannes Berg
2022-07-13T07:03:46Z

On Wed, 2022-07-13 at 07:58 +0100, Anton Ivanov wrote:
>
> IIRC UML RNG device reads directly from host.

Yes, but that's a /dev/hwrng device, so you still need some userspace to
feed entropy from that into /dev/random.

> If you are using UMLs own /dev/random you are effectively using the host
> one.

> So unless I am mistaken, you need extra randomness only if you do not
> have UMLs /dev/random compiled in.

No, neither of those is true.

johannes