qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e0d167: linux-user: Add AT_EXECFN auxval


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] e0d167: linux-user: Add AT_EXECFN auxval
Date: Sat, 21 Mar 2020 09:45:12 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e0d1673d39c1768f5372a43771d3776354eb3f96
      
https://github.com/qemu/qemu/commit/e0d1673d39c1768f5372a43771d3776354eb3f96
  Author: Lirong Yuan <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Add AT_EXECFN auxval

This change adds the support for AT_EXECFN auxval.

Signed-off-by: Lirong Yuan <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 055d92f8673c9e2bc284a5976e69664c87f18cae
      
https://github.com/qemu/qemu/commit/055d92f8673c9e2bc284a5976e69664c87f18cae
  Author: Tobias Koch <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: do prlimit selectively

Analogous to what commit 5dfa88f7 did for setrlimit, this commit
selectively ignores limits for memory-related resources in prlimit64
calls. This is to prevent too restrictive limits from causing QEMU
itself to malfunction.

Signed-off-by: Tobias Koch <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 2039b1b0dc4a8b5325dcfb60c3f1fe4abf9720bb
      
https://github.com/qemu/qemu/commit/2039b1b0dc4a8b5325dcfb60c3f1fe4abf9720bb
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: fix socket() strace

print_socket_type() doesn't manage flags and the correct type cannot
be displayed

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: aab613fb9597015b39bdc90da3ee80c0da05b927
      
https://github.com/qemu/qemu/commit/aab613fb9597015b39bdc90da3ee80c0da05b927
  Author: Lirong Yuan <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Update TASK_UNMAPPED_BASE for aarch64

This change updates TASK_UNMAPPED_BASE (the base address for guest programs) 
for aarch64. It is needed to allow qemu to work with Thread Sanitizer (TSan), 
which has specific boundary definitions for memory mappings on different 
platforms:
https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/tsan/rtl/tsan_platform.h

Signed-off-by: Lirong Yuan <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 859e8a89bede1ba1bdc2dda7a76a861e63cfd49f
      
https://github.com/qemu/qemu/commit/859e8a89bede1ba1bdc2dda7a76a861e63cfd49f
  Author: Alistair Francis <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/strace.c
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Protect more syscalls

New y2038 safe 32-bit architectures (like RISC-V) don't support old
syscalls with a 32-bit time_t. The kernel defines new *_time64 versions
of these syscalls. Add some more #ifdefs to syscall.c in linux-user to
allow us to compile without these old syscalls.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: c6c8d1026e7555097c1b01b2c701593f7b2c6602
      
https://github.com/qemu/qemu/commit/c6c8d1026e7555097c1b01b2c701593f7b2c6602
  Author: Alistair Francis <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall: Add support for clock_gettime64/clock_settime64

Add support for the clock_gettime64/clock_settime64 syscalls.

If your host is 64-bit or is 32-bit with the *_time64 syscall then the
timespec will correctly be a 64-bit time_t. Otherwise the host will
return a 32-bit time_t which will be rounded to 64-bits. This will be
incorrect after y2038.

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 50efc69586388a975c1ebd90cb8cc8e4a7328bc4
      
https://github.com/qemu/qemu/commit/50efc69586388a975c1ebd90cb8cc8e4a7328bc4
  Author: Alistair Francis <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    A linux-user/riscv/syscall32_nr.h
    A linux-user/riscv/syscall64_nr.h
    M linux-user/riscv/syscall_nr.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/riscv: Update the syscall_nr's to the 5.5 kernel

Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
[lv: guard sys_futex with TARGET_NR_exit]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 4d6a835dea47bdcdd67e68deb9161c4a6437d944
      
https://github.com/qemu/qemu/commit/4d6a835dea47bdcdd67e68deb9161c4a6437d944
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M Makefile.target
    M configure

  Log Message:
  -----------
  linux-user: introduce parameters to generate syscall_nr.h

This will be used when we'll import syscall.tbl from the kernel

Add a script to remove all the dependencies to syscall_nr.h
that point to source directory and not to the build directory.
The list of arch will be update while the generated files are added.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 6116aea994082a280c212435763c68e358dac9c7
      
https://github.com/qemu/qemu/commit/6116aea994082a280c212435763c68e358dac9c7
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/alpha/Makefile.objs
    A linux-user/alpha/syscall.tbl
    R linux-user/alpha/syscall_nr.h
    A linux-user/alpha/syscallhdr.sh

  Log Message:
  -----------
  linux-user, alpha: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/alpha/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 9566f4c61fa3bfcec3a7132d551542115494fa0b
      
https://github.com/qemu/qemu/commit/9566f4c61fa3bfcec3a7132d551542115494fa0b
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/hppa/Makefile.objs
    A linux-user/hppa/syscall.tbl
    R linux-user/hppa/syscall_nr.h
    A linux-user/hppa/syscallhdr.sh

  Log Message:
  -----------
  linux-user, hppa: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/parisc/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 5b85cae95544d1db9f067a3846bb8659d9bc5711
      
https://github.com/qemu/qemu/commit/5b85cae95544d1db9f067a3846bb8659d9bc5711
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/m68k/Makefile.objs
    A linux-user/m68k/syscall.tbl
    R linux-user/m68k/syscall_nr.h
    A linux-user/m68k/syscallhdr.sh

  Log Message:
  -----------
  linux-user, m68k: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/m68k/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: a4a9359253f5ee4fd419c3164940cfcfe9635e45
      
https://github.com/qemu/qemu/commit/a4a9359253f5ee4fd419c3164940cfcfe9635e45
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/xtensa/Makefile.objs
    A linux-user/xtensa/syscall.tbl
    R linux-user/xtensa/syscall_nr.h
    A linux-user/xtensa/syscallhdr.sh

  Log Message:
  -----------
  linux-user, xtensa: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/xtensa/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: d0c832f616cadd5bace44986824c0c9142913795
      
https://github.com/qemu/qemu/commit/d0c832f616cadd5bace44986824c0c9142913795
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/sh4/Makefile.objs
    A linux-user/sh4/syscall.tbl
    R linux-user/sh4/syscall_nr.h
    A linux-user/sh4/syscallhdr.sh

  Log Message:
  -----------
  linux-user, sh4: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/sh/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: ddf0c4cdfd3839c5dd3dfcd51770bc4639c1fd37
      
https://github.com/qemu/qemu/commit/ddf0c4cdfd3839c5dd3dfcd51770bc4639c1fd37
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/microblaze/Makefile.objs
    A linux-user/microblaze/syscall.tbl
    R linux-user/microblaze/syscall_nr.h
    A linux-user/microblaze/syscallhdr.sh

  Log Message:
  -----------
  linux-user, microblaze: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/microblaze/kernel/syscalls 
v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 5bcb4986384e02669418a411cac10377cf48e698
      
https://github.com/qemu/qemu/commit/5bcb4986384e02669418a411cac10377cf48e698
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/arm/Makefile.objs
    A linux-user/arm/syscall.tbl
    R linux-user/arm/syscall_nr.h
    A linux-user/arm/syscallhdr.sh
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user, arm: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/arm/tools/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Update syscall.c to manage TARGET_NR_arm_sync_file_range as it has
replaced TARGET_NR_sync_file_range2

Move existing stuff from linux-user/Makefile.objs to
linux-user/arm/Makefile.objs

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 76a691f1af65f64d070ace531adef01fe187e29a
      
https://github.com/qemu/qemu/commit/76a691f1af65f64d070ace531adef01fe187e29a
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/ppc/Makefile.objs
    M linux-user/ppc/signal.c
    A linux-user/ppc/syscall.tbl
    R linux-user/ppc/syscall_nr.h
    A linux-user/ppc/syscallhdr.sh

  Log Message:
  -----------
  linux-user, ppc: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/ppc/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h
and to not generate the entry if entry point is sys_ni_syscall.

Fix ppc/signal.c to define do_sigreturn() for TARGET_ABI32.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: b632d67913d9d27274d879424059a0698020f1a0
      
https://github.com/qemu/qemu/commit/b632d67913d9d27274d879424059a0698020f1a0
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/s390x/syscall_nr.h

  Log Message:
  -----------
  linux-user, s390x: remove syscall definitions for !TARGET_S390X

We don't support other 32bit architecture.
Update file to comply with coding style (TAB).

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 318f371dcf797ab29dccabd3d9956f835c6fa69e
      
https://github.com/qemu/qemu/commit/318f371dcf797ab29dccabd3d9956f835c6fa69e
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/s390x/Makefile.objs
    A linux-user/s390x/syscall.tbl
    R linux-user/s390x/syscall_nr.h
    A linux-user/s390x/syscallhdr.sh

  Log Message:
  -----------
  linux-user, s390x: add syscall table generation support

Copy syscall.tbl from linux/arch/s390x/kernel/syscalls v5.5
Copy syscallhdr.sh from m68k.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: bb0cdc03673d8c7e7d4d0f8a9693bc11d531b6cd
      
https://github.com/qemu/qemu/commit/bb0cdc03673d8c7e7d4d0f8a9693bc11d531b6cd
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/sparc/Makefile.objs
    A linux-user/sparc/syscall.tbl
    R linux-user/sparc/syscall_nr.h
    A linux-user/sparc/syscallhdr.sh
    A linux-user/sparc64/Makefile.objs
    A linux-user/sparc64/syscall.tbl
    R linux-user/sparc64/syscall_nr.h
    A linux-user/sparc64/syscallhdr.sh

  Log Message:
  -----------
  linux-user, sparc, sparc64: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from linux/arch/sparc/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 9d12f79daa1459c0c63d5f923e6cbd270f57ff4c
      
https://github.com/qemu/qemu/commit/9d12f79daa1459c0c63d5f923e6cbd270f57ff4c
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/i386/target_cpu.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user, x86_64, i386: cleanup TARGET_NR_arch_prctl

Define do_arch_prctl() for i386 and x86_64, but return -TARGET_ENOSYS
for i386.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 289881175d05f1c35e8cf86b9de2757ef6410a69
      
https://github.com/qemu/qemu/commit/289881175d05f1c35e8cf86b9de2757ef6410a69
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/i386/Makefile.objs
    A linux-user/i386/syscall_32.tbl
    R linux-user/i386/syscall_nr.h
    A linux-user/i386/syscallhdr.sh

  Log Message:
  -----------
  linux-user, i386: add syscall table generation support

Copy syscall_32.tbl and syscallhdr.sh from linux/arch/x86/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 8d62f35ad26ec1331c71b3992b2d208acf1754f8
      
https://github.com/qemu/qemu/commit/8d62f35ad26ec1331c71b3992b2d208acf1754f8
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/x86_64/Makefile.objs
    A linux-user/x86_64/syscall_64.tbl
    R linux-user/x86_64/syscall_nr.h
    A linux-user/x86_64/syscallhdr.sh

  Log Message:
  -----------
  linux-user, x86_64: add syscall table generation support

Copy syscall_64.tbl and syscallhdr.sh from linux/arch/x86/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: c59716fc5b62734052d26baa06b62467c0d3c125
      
https://github.com/qemu/qemu/commit/c59716fc5b62734052d26baa06b62467c0d3c125
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/mips/Makefile.objs
    R linux-user/mips/syscall_nr.h
    A linux-user/mips/syscall_o32.tbl
    A linux-user/mips/syscallhdr.sh

  Log Message:
  -----------
  linux-user, mips: add syscall table generation support

Copy syscall.tbl and syscallhdr.sh from 
linux/arch/mips/kernel/syscalls/syscall_o32.tbl v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h
Move the offset (4000) from the file to the Makefile.objs to be passed
to syscallhdr.sh
Rename on the fly fadvise64 to fadvise64_64.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 686a0fe4dbeb711eeed83d7a3e307c6506fdb8b3
      
https://github.com/qemu/qemu/commit/686a0fe4dbeb711eeed83d7a3e307c6506fdb8b3
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M configure
    M linux-user/Makefile.objs
    A linux-user/mips64/Makefile.objs
    A linux-user/mips64/syscall_n32.tbl
    A linux-user/mips64/syscall_n64.tbl
    R linux-user/mips64/syscall_nr.h
    A linux-user/mips64/syscallhdr.sh

  Log Message:
  -----------
  linux-user, mips64: add syscall table generation support

Copy syscall_n32.tbl, syscall_n64.tbl and syscallhdr.sh from
linux/arch/parisc/kernel/syscalls v5.5
Update syscallhdr.sh to generate QEMU syscall_nr.h

Move the offsets (6000 for n32 and 5000 for n64) from the file to
the Makefile.objs to be passed to syscallhdr.sh

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: e3a6c825b2c82424034d023c879f040766ab15de
      
https://github.com/qemu/qemu/commit/e3a6c825b2c82424034d023c879f040766ab15de
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M MAINTAINERS
    A scripts/update-syscalltbl.sh

  Log Message:
  -----------
  linux-user, scripts: add a script to update syscall.tbl

scripts/update-syscalltbl.sh has the list of syscall.tbl to update and
can copy them from the linux source directory

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 28b7d5fd59c158eeaf814f92da385f6986de5c66
      
https://github.com/qemu/qemu/commit/28b7d5fd59c158eeaf814f92da385f6986de5c66
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/arm/syscall.tbl
    M linux-user/hppa/syscall.tbl
    M linux-user/i386/syscall_32.tbl
    M linux-user/m68k/syscall.tbl
    M linux-user/microblaze/syscall.tbl
    M linux-user/mips/syscall_o32.tbl
    M linux-user/mips64/syscall_n32.tbl
    M linux-user/mips64/syscall_n64.tbl
    M linux-user/ppc/syscall.tbl
    M linux-user/s390x/syscall.tbl
    M linux-user/sh4/syscall.tbl
    M linux-user/sparc/syscall.tbl
    M linux-user/sparc64/syscall.tbl
    M linux-user/x86_64/syscall_64.tbl
    M linux-user/xtensa/syscall.tbl

  Log Message:
  -----------
  linux-user: update syscall.tbl from linux 0bf999f9c5e7

Run scripts/update-syscalltbl.sh with linux commit 0bf999f9c5e7

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: ac5d3c670a7ce1ba8c695f99c0027a8e55355e50
      
https://github.com/qemu/qemu/commit/ac5d3c670a7ce1ba8c695f99c0027a8e55355e50
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/mips/cpu_loop.c
    A linux-user/mips/syscall-args-o32.c.inc

  Log Message:
  -----------
  linux-user,mips: move content of mips_syscall_args

Move content of mips_syscall_args to mips-syscall-args-o32.c.inc to
ease automatic update. No functionnal change

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 5733333020649bf08ae523e8bac7c8e0db125d0c
      
https://github.com/qemu/qemu/commit/5733333020649bf08ae523e8bac7c8e0db125d0c
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M MAINTAINERS
    M linux-user/mips/syscall-args-o32.c.inc
    A scripts/update-mips-syscall-args.sh

  Log Message:
  -----------
  linux-user,mips: update syscall-args-o32.c.inc

Add a script to update the file from strace github and run it

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
[lv: added file in MAINTAINERS]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 382ae67af3eab60f754ebdfe862218b4cbd95338
      
https://github.com/qemu/qemu/commit/382ae67af3eab60f754ebdfe862218b4cbd95338
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M MAINTAINERS
    A scripts/gensyscalls.sh

  Log Message:
  -----------
  scripts: add a script to generate syscall_nr.h

This script is needed for targets based on asm-generic syscall numbers 
generation

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
[lv: added file in MAINTAINERS]


  Commit: ca2144c8a8cfb87cdd9e78f301295fc09f002ed1
      
https://github.com/qemu/qemu/commit/ca2144c8a8cfb87cdd9e78f301295fc09f002ed1
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/aarch64/syscall_nr.h

  Log Message:
  -----------
  linux-user, aarch64: sync syscall numbers with kernel v5.5

Use helper script scripts/gensyscalls.sh to generate the file.

This change TARGET_NR_fstatat64 by TARGET_NR_newfstatat that is correct
because definitions from linux are:

arch/arm64/include/uapi/asm/unistd.h

  #define __ARCH_WANT_NEW_STAT

include/uapi/asm-generic/unistd.h

  #if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
  #define __NR3264_fstatat 79
  __SC_3264(__NR3264_fstatat, sys_fstatat64, sys_newfstatat)
  #define __NR3264_fstat 80
  __SC_3264(__NR3264_fstat, sys_fstat64, sys_newfstat)
  #endif
  ...
  #if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT)
  ...
  #if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64)
  #define __NR_newfstatat __NR3264_fstatat
  #define __NR_fstat __NR3264_fstat
  #endif
  ...

Add syscalls 286 (preadv2) to 435 (clone3).

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>


  Commit: a830fa26388409fe644218fbe6f172a1b41855d9
      
https://github.com/qemu/qemu/commit/a830fa26388409fe644218fbe6f172a1b41855d9
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/nios2/syscall_nr.h

  Log Message:
  -----------
  linux-user, nios2: sync syscall numbers with kernel v5.5

Use helper script scripts/gensyscalls.sh to generate the file.

This adds TARGET_NR_llseek that was missing and remove syscalls 1024
to 1079.

Add new syscalls from 288 (pkey_mprotect) to 434 (pidfd_open)

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-Id: <address@hidden>


  Commit: a64ddbb03acf1ee916c826ae89e0e1aa6500d5ae
      
https://github.com/qemu/qemu/commit/a64ddbb03acf1ee916c826ae89e0e1aa6500d5ae
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M linux-user/openrisc/syscall_nr.h

  Log Message:
  -----------
  linux-user, openrisc: sync syscall numbers with kernel v5.5

Use helper script scripts/gensyscalls.sh to generate the file.

Add TARGET_NR_or1k_atomic
Remove useless comments and blank lines.
Define diretly the __NR_XXX64 syscalls rather than using the
intermediate __NR3264 definition.

Remove wrong cut'n'paste (like "#ifdef __ARCH_WANT_SYNC_FILE_RANGE2")

Add new syscalls from 286 (preadv) to 434 (pidfd_open).

Remove obsolete syscalls 1204 (open) to 1079 (fork).

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>


  Commit: 52a96afaa23d883d281bc7b95b9e69db7d6d3d3f
      
https://github.com/qemu/qemu/commit/52a96afaa23d883d281bc7b95b9e69db7d6d3d3f
  Author: Peter Maydell <address@hidden>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M MAINTAINERS
    M Makefile.target
    M configure
    M linux-user/Makefile.objs
    M linux-user/aarch64/syscall_nr.h
    A linux-user/alpha/Makefile.objs
    A linux-user/alpha/syscall.tbl
    R linux-user/alpha/syscall_nr.h
    A linux-user/alpha/syscallhdr.sh
    A linux-user/arm/Makefile.objs
    A linux-user/arm/syscall.tbl
    R linux-user/arm/syscall_nr.h
    A linux-user/arm/syscallhdr.sh
    M linux-user/elfload.c
    A linux-user/hppa/Makefile.objs
    A linux-user/hppa/syscall.tbl
    R linux-user/hppa/syscall_nr.h
    A linux-user/hppa/syscallhdr.sh
    A linux-user/i386/Makefile.objs
    A linux-user/i386/syscall_32.tbl
    R linux-user/i386/syscall_nr.h
    A linux-user/i386/syscallhdr.sh
    M linux-user/i386/target_cpu.h
    A linux-user/m68k/Makefile.objs
    A linux-user/m68k/syscall.tbl
    R linux-user/m68k/syscall_nr.h
    A linux-user/m68k/syscallhdr.sh
    A linux-user/microblaze/Makefile.objs
    A linux-user/microblaze/syscall.tbl
    R linux-user/microblaze/syscall_nr.h
    A linux-user/microblaze/syscallhdr.sh
    A linux-user/mips/Makefile.objs
    M linux-user/mips/cpu_loop.c
    A linux-user/mips/syscall-args-o32.c.inc
    R linux-user/mips/syscall_nr.h
    A linux-user/mips/syscall_o32.tbl
    A linux-user/mips/syscallhdr.sh
    A linux-user/mips64/Makefile.objs
    A linux-user/mips64/syscall_n32.tbl
    A linux-user/mips64/syscall_n64.tbl
    R linux-user/mips64/syscall_nr.h
    A linux-user/mips64/syscallhdr.sh
    M linux-user/mmap.c
    M linux-user/nios2/syscall_nr.h
    M linux-user/openrisc/syscall_nr.h
    A linux-user/ppc/Makefile.objs
    M linux-user/ppc/signal.c
    A linux-user/ppc/syscall.tbl
    R linux-user/ppc/syscall_nr.h
    A linux-user/ppc/syscallhdr.sh
    A linux-user/riscv/syscall32_nr.h
    A linux-user/riscv/syscall64_nr.h
    M linux-user/riscv/syscall_nr.h
    A linux-user/s390x/Makefile.objs
    A linux-user/s390x/syscall.tbl
    R linux-user/s390x/syscall_nr.h
    A linux-user/s390x/syscallhdr.sh
    A linux-user/sh4/Makefile.objs
    A linux-user/sh4/syscall.tbl
    R linux-user/sh4/syscall_nr.h
    A linux-user/sh4/syscallhdr.sh
    A linux-user/sparc/Makefile.objs
    A linux-user/sparc/syscall.tbl
    R linux-user/sparc/syscall_nr.h
    A linux-user/sparc/syscallhdr.sh
    A linux-user/sparc64/Makefile.objs
    A linux-user/sparc64/syscall.tbl
    R linux-user/sparc64/syscall_nr.h
    A linux-user/sparc64/syscallhdr.sh
    M linux-user/strace.c
    M linux-user/syscall.c
    A linux-user/x86_64/Makefile.objs
    A linux-user/x86_64/syscall_64.tbl
    R linux-user/x86_64/syscall_nr.h
    A linux-user/x86_64/syscallhdr.sh
    A linux-user/xtensa/Makefile.objs
    A linux-user/xtensa/syscall.tbl
    R linux-user/xtensa/syscall_nr.h
    A linux-user/xtensa/syscallhdr.sh
    A scripts/gensyscalls.sh
    A scripts/update-mips-syscall-args.sh
    A scripts/update-syscalltbl.sh

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/vivier2/tags/linux-user-for-5.0-pull-request' into staging

update syscall numbers to linux 5.5 (with scripts)
add clock_gettime64/clock_settime64
add AT_EXECFN

v4: restore syscall.tbl series but remove vsyscall series
v3: remove syscall.tbl series
v2: guard copy_to_user_timezone() with TARGET_NR_gettimeofday
    remove "Support futex_time64" patch
    guard sys_futex with TARGET_NR_exit

# gpg: Signature made Fri 20 Mar 2020 15:23:29 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Laurent Vivier <address@hidden>" [full]
# gpg:                 aka "Laurent Vivier <address@hidden>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <address@hidden>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/linux-user-for-5.0-pull-request: (32 commits)
  linux-user, openrisc: sync syscall numbers with kernel v5.5
  linux-user, nios2: sync syscall numbers with kernel v5.5
  linux-user, aarch64: sync syscall numbers with kernel v5.5
  scripts: add a script to generate syscall_nr.h
  linux-user,mips: update syscall-args-o32.c.inc
  linux-user,mips: move content of mips_syscall_args
  linux-user: update syscall.tbl from linux 0bf999f9c5e7
  linux-user, scripts: add a script to update syscall.tbl
  linux-user, mips64: add syscall table generation support
  linux-user, mips: add syscall table generation support
  linux-user, x86_64: add syscall table generation support
  linux-user, i386: add syscall table generation support
  linux-user, x86_64, i386: cleanup TARGET_NR_arch_prctl
  linux-user, sparc, sparc64: add syscall table generation support
  linux-user, s390x: add syscall table generation support
  linux-user, s390x: remove syscall definitions for !TARGET_S390X
  linux-user, ppc: add syscall table generation support
  linux-user, arm: add syscall table generation support
  linux-user, microblaze: add syscall table generation support
  linux-user, sh4: add syscall table generation support
  ...

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


Compare: https://github.com/qemu/qemu/compare/3d0ac346032a...52a96afaa23d



reply via email to

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