lkml.org 
[lkml]   [2002]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [uml-user] Re: user-mode port 0.56-2.4.18-15
On Apr 09, 2002  20:44 -0500, Jeff Dike wrote:
> Doesn't /dev/urandom have exactly the same DOS properties as /dev/random?
> I.e. it reads real random numbers until the entropy pool is empty, then
> starts returning pseudo-random numbers? If so, things on the host will
> still hang when they then try to read /dev/random.

You are correct. Reading from /dev/urandom consumes just as much
entropy as reading from /dev/random. It just doesn't block when the
entropy pool is random.

Hmm, maybe this should be fixed by refilling the urandom entropy pool
much less often...

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

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

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.056 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site