From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhFFS-0002zz-BC for qemu-devel@nongnu.org; Thu, 23 Oct 2014 06:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhFFM-0002Ju-Uh for qemu-devel@nongnu.org; Thu, 23 Oct 2014 06:04:02 -0400 Received: from afflict.kos.to ([92.243.29.197]:54811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhFFM-0002JO-PC for qemu-devel@nongnu.org; Thu, 23 Oct 2014 06:03:56 -0400 Date: Thu, 23 Oct 2014 13:03:55 +0300 From: Riku Voipio Message-ID: <20141023100355.GA6656@afflict.kos.to> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v5] linux-user: Let user specify random seed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Magnus Reftel Cc: qemu-devel@nongnu.org On Wed, Oct 22, 2014 at 03:17:33PM +0200, Magnus Reftel wrote: > On Tue, Oct 14, 2014 at 5:18 PM, Magnus Reftel 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 > > to the commit message. > Ping. > http://patchwork.ozlabs.org/patch/399483/ Applied to linux-user que, thanks Riku