On Mon, Jun 15, 2009 at 11:54:44AM +0100, Ben Hutchings wrote:
> On Mon, 2009-06-15 at 11:44 +0200, Aurelien Jarno wrote:
> > Bastian Blank a écrit :
> > > On Mon, Jun 15, 2009 at 10:47:43AM +0200, Folkert van Heusden wrote:
> > >>> Now add strace to those commands.  Do you see the problem?
> > >> Nope, works as expected:
> > > 
> > > You have different libs than we all have. Ours shows:
> > > | open("/dev/urandom", O_RDONLY)          = 3
> > > | read(3, "\34\344C\242", 4)              = 4
> > > | close(3)                                = 0
> > > 
> > 
> > Note that it is fixed in glibc 2.10 with kernels >= 2.6.29.
> 
> It's "fixed" in that Drepper changed the kernel's ELF loader to
> initialise the random bytes itself.  The entropy pool is still depleted
> by every process startup. :-(
> 

Well the original idea was actually to use a different entropy pool in
the kernel for the AT_RANDOM vdso. I don't know how it has finally been
implemented, but then I think it is a kernel issue.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to