[PATCH] um: seed rng using host OS rng

Anton Ivanov anton.ivanov at kot-begemot.co.uk
Wed Jul 13 00:05:30 PDT 2022


On 13/07/2022 08:03, Johannes Berg wrote:
> 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.

OK, Cool.

>
> johannes
>
>
>
> _______________________________________________
> linux-um mailing list
> linux-um at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-um
>

-- 
Anton R. Ivanov
https://www.kot-begemot.co.uk/




More information about the linux-um mailing list