qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c5e4a5: linux-user: Let user specify random s


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c5e4a5: linux-user: Let user specify random seed
Date: Mon, 03 Nov 2014 15:00:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c5e4a5a95e6de549fdf131c77c0f8d25b6ee7f30
      
https://github.com/qemu/qemu/commit/c5e4a5a95e6de549fdf131c77c0f8d25b6ee7f30
  Author: Magnus Reftel <address@hidden>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/main.c

  Log Message:
  -----------
  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 <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: 686581adcfead947b4726d82b1eaf7c25fa597e6
      
https://github.com/qemu/qemu/commit/686581adcfead947b4726d82b1eaf7c25fa597e6
  Author: Riku Voipio <address@hidden>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: Fix fault address truncation AArch64

On AArch64 the si_addr field of siginfo_t is truncated to 32 bits
because the fault address passes through an uint32_t variable.

Follow Peters suggestion and drop the uint32_t variable
since its only used once in the Aarch64 loop.

Reported-by: Amanieu d'Antras <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: a93934fecd4dffc9d4b452b670c9506be5dea30d
      
https://github.com/qemu/qemu/commit/a93934fecd4dffc9d4b452b670c9506be5dea30d
  Author: Jonas Maebe <address@hidden>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  elf: take phdr offset into account when calculating the program load address

The first program header does not necessarily start at offset 0. This change
corresponds to what the Linux kernel does in load_elf_binary().

Signed-off-by: Jonas Maebe <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: 47e8acb45feddcbc340583781b53935459330db2
      
https://github.com/qemu/qemu/commit/47e8acb45feddcbc340583781b53935459330db2
  Author: Peter Maydell <address@hidden>
  Date:   2014-11-03 (Mon, 03 Nov 2014)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/main.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20141101' 
into staging

linux-user pull for 2.2

Two minor fixes and new a feature, addition of QEMU_RAND_SEED for
testing needs.

# gpg: Signature made Mon 03 Nov 2014 11:49:39 GMT using RSA key ID DE3C9BC0
# gpg: Good signature from "Riku Voipio <address@hidden>"
# gpg:                 aka "Riku Voipio <address@hidden>"

* remotes/riku/tags/pull-linux-user-20141101:
  elf: take phdr offset into account when calculating the program load address
  linux-user: Fix fault address truncation AArch64
  linux-user: Let user specify random seed

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/9a33c0c85182...47e8acb45fed

reply via email to

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