1. 24 Oct, 2016 35 commits
  2. 23 Oct, 2016 2 commits
  3. 21 Oct, 2016 3 commits
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20160921' into staging · b49e452f
      Peter Maydell authored
      Linux-user changes, mostly bugfixes and adding support for some
      new syscalls and some obscure syscalls as well. Includes some
      missed patches from earlier rounds, and dropping unicore32 target.
      
      v2: fix the syslog patch and test build with clang-3.8
      v3: drop ustat patch
      
      # gpg: Signature made Fri 21 Oct 2016 13:38:06 BST
      # gpg:                using RSA key 0xB44890DEDE3C9BC0
      # gpg: Good signature from "Riku Voipio <riku.voipio@iki.fi>"
      # gpg:                 aka "Riku Voipio <riku.voipio@linaro.org>"
      # Primary key fingerprint: FF82 03C8 C391 98AE 0581  41EF B448 90DE DE3C 9BC0
      
      * remotes/riku/tags/pull-linux-user-20160921: (21 commits)
        linux-user: disable unicore32 linux-user build
        linux-user: added support for pwritev() system call.
        linux-user: added support for preadv() system call.
        linux-user: Fix fadvise64() syscall support for Mips32
        linux-user: Redirect termbits.h for Mips64 to termbits.h for Mips32
        linux-user: Update ioctls definitions for Mips32
        linux-user: Update mips_syscall_args[] array in main.c
        linux-user: Add support for syncfs() syscall
        linux-user: Add support for clock_adjtime() syscall
        linux-user: Fix definition of target_sigevent for 32-bit guests
        linux-user: use libc wrapper instead of direct mremap syscall
        linux-user: Don't use alloca() for epoll_wait's epoll event array
        linux-user: add RTA_PRIORITY in netlink
        linux-user: add kcmp() syscall
        linux-user: sparc64: Use correct target SHMLBA in shmat()
        linux-user: Remove a duplicate item from strace.list
        linux-user: Fix syslog() syscall support
        linux-user: Fix socketcall() syscall support
        linux-user: Fix msgrcv() and msgsnd() syscalls support
        linux-user: Fix mq_open() syscall support
        ...
      Signed-off-by: 's avatarPeter Maydell <peter.maydell@linaro.org>
      b49e452f
    • Riku Voipio's avatar
      linux-user: disable unicore32 linux-user build · 5e2b40f7
      Riku Voipio authored
      In order to cleanup linux-user, we need support for most relatively
      modern syscalls. unicore32 lacks support for syscalls like
      epoll_pwait, preventing cleaning up the CONFIG_EPOLL mess.
      
      This patch can be reverted when unicore32 starts either supporting
      the syscalls as defined in mainline kernel, or the oldabi interface
      gains support for syscalls supported since at kernel 2.6.19 / glibc 2.6
      
      Cc: MPRC <zhangheng@mprc.pku.edu.cn>
      Cc: Xuetao Guan <gxt@mprc.pku.edu.cn>
      Signed-off-by: 's avatarRiku Voipio <riku.voipio@linaro.org>
      5e2b40f7
    • Dejan Jovicevic's avatar
      linux-user: added support for pwritev() system call. · f8d00fba
      Dejan Jovicevic authored
      This system call performs the same task as the writev() system call,
      with the exception of having the fourth argument, offset, which
      specifes the file offset at which the input operation is to be performed.
      Because of this, the pwritev() implementation is based on the writev()
      implementation in linux-user mode.
      
      But, since pwritev() is implemented in the kernel as a 5-argument syscall,
      5 arguments are needed to be handled as input and passed to the host
      syscall.
      
      The pos_l and pos_h argument of the safe_pwritev() are of type unsigned
      long, which can be of different sizes on different platforms. The input
      arguments are converted to the appropriate host size when passed to
      safe_pwritev().
      Signed-off-by: 's avatarDejan Jovicevic <dejan.jovicevic@rt-rk.com>
      Signed-off-by: 's avatarRiku Voipio <riku.voipio@linaro.org>
      f8d00fba