linux-user: Let user specify random seed
authorMagnus Reftel <reftel@spotify.com>
Tue, 14 Oct 2014 15:18:17 +0000 (17:18 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 3 Nov 2014 09:03:34 +0000 (11:03 +0200)
commitc5e4a5a95e6de549fdf131c77c0f8d25b6ee7f30
tree8e60a241f11aa81e134dce384c5aa40715dcd2da
parent0a2923f8488498000eec54871456aa64a4391da4
linux-user: Let user specify random seed

This patch introduces the -seed command line option and the
QEMU_RAND_SEED environment variable for setting the random seed, which
is used for the AT_RANDOM ELF aux entry.

Signed-off-by: Magnus Reftel <reftel@spotify.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/elfload.c
linux-user/main.c