Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM

From: Gilles Espinasse
Date: Mon May 26 2008 - 17:11:24 EST



----- Original Message -----
From: "Theodore Tso" <tytso@xxxxxxx>
To: "Glen Turner" <gdt@xxxxxxxxx>
Cc: "Chris Peterson" <cpeterso@xxxxxxxxxxxx>; "Alan Cox"
<alan@xxxxxxxxxxxxxxxxxxx>; "Lennart Sorensen"
<lsorense@xxxxxxxxxxxxxxxxxxx>; "Jeff Garzik" <jeff@xxxxxxxxxx>; "Kok, Auke"
<auke-jan.h.kok@xxxxxxxxx>; "Rick Jones" <rick.jones2@xxxxxx>; "Brandeburg,
Jesse" <jes>
Sent: Monday, May 26, 2008 1:27 AM
Subject: Re: [PATCH] drivers/net: remove network drivers' last few uses of
IRQF_SAMPLE_RANDOM


...
>
> There is a reason why /dev/random is world-writeable; it's perfectly
> safe to write arbitary amounts of data into /dev/random. If the
> attacker doesn't know what has been fixed into the entropy pool, his
> life just got a lot harder. If it is the attacker mixing known data
> into the pool, it's no worse.
>
man 4 random recommand to save /dev/urandom during stop and seed
/dev/urandom at start.
For wich reason is it not recommanded to save and seed using /dev/random?

Gilles

--
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/