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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Friday, May 16, 2008 - 9:20 am

Adrian Bunk wrote:

No in this case /dev/urandom is the wrong choice. You should seed
then some standard RND with the time,pid as is the classical way
and not use any precious entropy. Yes some programs don't do that,
but they're wrong and actually slightly dangerous.


Even the cryptographic programs normally use /dev/urandom to get
session keys etc. That is because they are definitely concerned about
local DoS. Just strace your ssh daemon or your SSL web server to see
what I mean.


Yes, but if you read the context of that patch it commented out
the code that accessed /dev/urandom!

Please reread my analysis of the issue. If you have already entropy in
the pool  the additional feed doesn't change anything. And if you don't
it still stays the same.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH] drivers/net: remove network drivers' last few ..., Brandeburg, Jesse, (Thu May 15, 9:07 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Henrique de Moraes H ..., (Thu May 15, 3:29 pm)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Henrique de Moraes H ..., (Thu May 15, 4:02 pm)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Henrique de Moraes H ..., (Thu May 15, 4:46 pm)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Henrique de Moraes H ..., (Thu May 15, 4:58 pm)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Lennart Sorensen, (Fri May 16, 6:21 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Lennart Sorensen, (Fri May 16, 7:15 am)
Re: [PATCH] Re: [PATCH] drivers/net: remove network driver ..., Andi Kleen, (Fri May 16, 9:20 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Lennart Sorensen, (Fri May 16, 10:36 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Lennart Sorensen, (Fri May 16, 11:41 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Lennart Sorensen, (Fri May 16, 11:42 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Lennart Sorensen, (Fri May 16, 1:39 pm)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Alejandro Riveira , (Mon May 26, 6:43 am)
Re: [PATCH] drivers/net: remove network drivers' last few ..., Krzysztof Halasa, (Mon May 26, 2:07 pm)