qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5] linux-user: Let user specify random seed


From: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH v5] linux-user: Let user specify random seed
Date: Thu, 23 Oct 2014 13:03:55 +0300
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Oct 22, 2014 at 03:17:33PM +0200, Magnus Reftel wrote:
> On Tue, Oct 14, 2014 at 5:18 PM, Magnus Reftel <address@hidden> wrote:
> > linux-user uses the rand function for generating the value of the AT_RANDOM 
> > elf
> > aux vector entry, and explicitly seeds the random number generator with the
> > current time. This makes it impossible to reproduce runs that use the 
> > AT_RANDOM
> > bytes.
> >
> > This patch adds a command line option and a matching environment variable 
> > for
> > setting the random seed, so that the AT_RANDOM values can be predictable 
> > when
> > the user chooses. The default is still to seed the random number generator
> > with the current time.
> >
> > The difference from version 4 of the patch is only the addition of the line
> >   Reviewed-by: Eric Blake <address@hidden>
> > to the commit message.
 
> Ping.
> http://patchwork.ozlabs.org/patch/399483/

Applied to linux-user que, thanks

Riku



reply via email to

[Prev in Thread] Current Thread [Next in Thread]