mbox

[PULL,00/19] linux-user changes for 2.1

Message ID cover.1403529800.git.riku.voipio@linaro.org
State Accepted
Headers show

Pull-request

git://git.linaro.org/people/riku.voipio/qemu.git linux-user-for-upstream

Message

Riku Voipio June 23, 2014, 1:26 p.m. UTC
From: Riku Voipio <riku.voipio@linaro.org>

The following changes since commit d9c1647d896d3192cba9dbf98fb7efab876edde5:

  Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2014-06-23 12:55:22 +0100)

are available in the git repository at:

  git://git.linaro.org/people/riku.voipio/qemu.git linux-user-for-upstream

for you to fetch changes up to 1f1fb45ffe2a67bc1853b55b1d029fcee37d546a:

  linux-user: support the SIOCGIFINDEX ioctl (2014-06-23 16:00:23 +0300)

Christophe Lyon (1):
  Add support for MAP_NORESERVE mmap flag.

Hunter Laux (1):
  Add support for the arm breakpoint syscall

Paul Burton (16):
  linux-user: translate the result of getsockopt SO_TYPE
  linux-user: support SO_ACCEPTCONN getsockopt option
  linux-user: support SO_{SND, RCV}BUFFORCE setsockopt options
  linux-user: support SO_PASSSEC setsockopt option
  linux-user: allow NULL arguments to mount
  linux-user: support strace of epoll_create1
  linux-user: fix struct target_epoll_event layout for MIPS
  linux-user: respect timezone for settimeofday
  linux-user: allow NULL tv argument for settimeofday
  linux-user: support timerfd_{create, gettime, settime} syscalls
  linux-user: support ioprio_{get, set} syscalls
  linux-user: support {name_to, open_by}_handle_at syscalls
  linux-user: support the setns syscall
  linux-user: support the unshare syscall
  linux-user: support the KDSIGACCEPT ioctl
  linux-user: support the SIOCGIFINDEX ioctl

Wim Vander Schelden (1):
  linux-user: added fake open() for /proc/self/cmdline

 linux-user/arm/syscall.h  |   1 +
 linux-user/ioctls.h       |   2 +
 linux-user/main.c         |   4 +
 linux-user/socket.h       |   5 +
 linux-user/strace.c       |  30 ++++
 linux-user/strace.list    |  21 +++
 linux-user/syscall.c      | 347 ++++++++++++++++++++++++++++++++++++++++++----
 linux-user/syscall_defs.h |   9 +-
 8 files changed, 392 insertions(+), 27 deletions(-)

Comments

Peter Maydell June 23, 2014, 5:26 p.m. UTC | #1
On 23 June 2014 14:26,  <riku.voipio@linaro.org> wrote:
> From: Riku Voipio <riku.voipio@linaro.org>
>
> The following changes since commit d9c1647d896d3192cba9dbf98fb7efab876edde5:
>
>   Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2014-06-23 12:55:22 +0100)
>
> are available in the git repository at:
>
>   git://git.linaro.org/people/riku.voipio/qemu.git linux-user-for-upstream
>
> for you to fetch changes up to 1f1fb45ffe2a67bc1853b55b1d029fcee37d546a:
>
>   linux-user: support the SIOCGIFINDEX ioctl (2014-06-23 16:00:23 +0300)

Hi; I'm afraid this fails to build on my 32-bit
ARM host:

  CC    aarch64-linux-user/linux-user/syscall.o
/root/qemu/linux-user/syscall.c: In function ‘do_syscall’:
/root/qemu/linux-user/syscall.c:5462:24: error: ‘p’ may be used
uninitialized in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors

Looks like we call fh = lock_user(...) but then use
the wrong variable in the unlock_user() call.

(No idea why this only fails on this machine and
not on x86-64...)

thanks
-- PMM