Re: [PATCH] get_random_bytes returns the same on every boot

From: Balint Marton
Date: Tue Jul 27 2004 - 14:29:47 EST


On Tue, 27 Jul 2004, Andi Kleen wrote:
> That still is an easily predictible value and may not even be
> unique when lots of systems are powered up at the same time
> (e.g. after a power failure)
Yes, my patch is not an ultimate solution, rather a step in the working
way :)

> Also BTW your problem presents a strong case why compiling in
> DHCP probes is bad and such stuff should run from initrd/initramfs.
I wouldn't say, its bad, it is only not supported yet under all
circumstances. But DHCP support may be improved for example by adding the
MAC address as entropy bytes to the secondary pool. Since we don't
add bytes to the primary pool, we don't harm things that really require
secure random data. Any opinions about this workaround?

Cus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/