On Thu, Oct 23, 2014 at 12:03 PM, Riku Voipio wrote:
> On Wed, Oct 22, 2014 at 03:17:33PM +0200, Magnus Reftel wrote:
>> Ping.
>> http://patchwork.ozlabs.org/patch/399483/
>
> Applied to linux-user que, thanks
Thanks!
BR
Magnus Reftel
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
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
Reviewed-by: Eric Blake
---
linux-user/elfload.c | 1 -
linux-user/main.c| 19
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 en
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
---
linux-user/elfload.c | 1 -
linux-user/main.c| 19 +++
2 files
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 en
On Fri, Oct 10, 2014 at 6:20 PM, Eric Blake wrote:
> On 10/10/2014 02:16 AM, Magnus Reftel wrote:
>> On Thu, Oct 9, 2014 at 11:30 PM, Eric Blake wrote:
>>> On 10/09/2014 01:12 PM, Magnus Reftel wrote:
>>>> +if (parse_uint(arg, &seed, &end, 0) != 0
On Thu, Oct 9, 2014 at 11:30 PM, Eric Blake wrote:
> On 10/09/2014 01:12 PM, Magnus Reftel wrote:
>> +if (parse_uint(arg, &seed, &end, 0) != 0 || *end != 0 || seed >
>> UINT_MAX) {
>
> Slightly shorter as:
>
> if (parse_uint_full(arg, &seed, 0) <
On Thu, Oct 9, 2014 at 9:43 PM, Tom Musta wrote:
> On 10/9/2014 3:36 AM, Magnus Reftel wrote:
>> 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 en
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
---
linux-user/elfload.c | 1 -
linux-user/main.c| 20
2 files
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.
Hi,
Thank you for your patience! I will send a third version.
On Thu, Oct 9, 2014 at 5:27 PM, Eric Blake wrote:
> On 10/09/2014 02:36 AM, Magnus Reftel wrote:
>> +char* end;
> Style: we prefer:
> char *end;
Done.
>> +if (end==arg || *end!='\0' || see
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.
This is an updated version of the patch, addressing review comments
from Eric Blake.
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
---
linux-user/elfload.c | 1 -
linux-user/main.c| 20
2 files
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
---
linux-user/elfload.c | 1 -
linux-user/main.c| 21 +
2 files
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 en
16 matches
Mail list logo