qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ba0fef: linux-user/strace: Constify struct fl


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ba0fef: linux-user/strace: Constify struct flags
Date: Sat, 04 Feb 2023 09:22:41 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: ba0fef0dd91dca2db6d1187c47b5d52592f4bee2
      
https://github.com/qemu/qemu/commit/ba0fef0dd91dca2db6d1187c47b5d52592f4bee2
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user/strace: Constify struct flags

print_flags() takes a const pointer.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-2-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 24acb7b4743ff6e9454e8407668b77d432cf23f7
      
https://github.com/qemu/qemu/commit/24acb7b4743ff6e9454e8407668b77d432cf23f7
  Author: Drew DeVault <sir@cmpwn.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user/strace: Extract print_execve_argv() from print_execve()

In order to add print_execveat() which re-use common code from
print_execve(), extract print_execve_argv() from it.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
[PMD: Split of bigger patch, filled description, fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-3-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 5667a1aebe93e2bb2ca435f1eef2f1e187b005bf
      
https://github.com/qemu/qemu/commit/5667a1aebe93e2bb2ca435f1eef2f1e187b005bf
  Author: Drew DeVault <sir@cmpwn.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

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

  Log Message:
  -----------
  linux-user/strace: Add output for execveat() syscall

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
Suggested-by: Helge Deller <deller@gmx.de>
[PMD: Split of bigger patch]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-4-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 156e1f67182f61cce113ab5e69e3a73af43ba2cb
      
https://github.com/qemu/qemu/commit/156e1f67182f61cce113ab5e69e3a73af43ba2cb
  Author: Drew DeVault <sir@cmpwn.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall: Extract do_execve() from do_syscall1()

execve() is a particular case of execveat(). In order
to add do_execveat(), first factor do_execve() out.

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
[PMD: Split of bigger patch, filled description, fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104173632.1052-5-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 55bbe4d5ee52e77951dda62b08e37cd0dd8ddb5b
      
https://github.com/qemu/qemu/commit/55bbe4d5ee52e77951dda62b08e37cd0dd8ddb5b
  Author: Drew DeVault <sir@cmpwn.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall: Implement execveat()

References: https://gitlab.com/qemu-project/qemu/-/issues/1007
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221104081015.706009-1-sir@cmpwn.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221104173632.1052-6-philmd@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e2c649e5b5b334b0b2598f6213130dd71d1c0df8
      
https://github.com/qemu/qemu/commit/e2c649e5b5b334b0b2598f6213130dd71d1c0df8
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace

Add two missing mmap flags.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>

Message-Id: <Y5iiED4PpnGAHpyz@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 6490d9aa62ef3cbbac2bf584fb0f3e737ab05e44
      
https://github.com/qemu/qemu/commit/6490d9aa62ef3cbbac2bf584fb0f3e737ab05e44
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: un-parent OBJECT(cpu) when closing thread

This reinstates commit 52f0c1607671293afcdb2acc2f83e9bccbfa74bb:

While forcing the CPU to unrealize by hand does trigger the clean-up
code we never fully free resources because refcount never reaches
zero. This is because QOM automatically added objects without an
explicit parent to /unattached/, incrementing the refcount.

Instead of manually triggering unrealization just unparent the object
and let the device machinery deal with that for us.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/866
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220811151413.3350684-2-alex.bennee@linaro.org>

The original patch tickled a problem in target/arm, and was reverted.
But that problem is fixed as of commit 3b07a936d3bf.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230124201019.3935934-1-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d237b416b9499441b6833b91609ec840efd832b6
      
https://github.com/qemu/qemu/commit/d237b416b9499441b6833b91609ec840efd832b6
  Author: Mike Frysinger <vapier@gentoo.org>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: fix strace build w/out munlockall

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230118090144.31155-1-vapier@gentoo.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d5dbbfe67e23ec35f7226c958bc3a76fd43ae10e
      
https://github.com/qemu/qemu/commit/d5dbbfe67e23ec35f7226c958bc3a76fd43ae10e
  Author: Letu Ren <fantasquex@gmail.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: add more netlink protocol constants

Currently, qemu strace only prints four protocol contants. This patch
adds others listed in "linux/netlink.h".

Signed-off-by: Letu Ren <fantasquex@gmail.com>
Message-Id: <20230101141105.12024-1-fantasquex@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 9f0246539ae84a5e21efd1cc4516fc343f08115a
      
https://github.com/qemu/qemu/commit/9f0246539ae84a5e21efd1cc4516fc343f08115a
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  Revert "linux-user: add more compat ioctl definitions"

This reverts commit c5495f4ecb0cdaaf2e9dddeb48f1689cdb520ca0.

glibc has fixed (in 2.36.9000-40-g774058d729) the problem
that caused a clash when both sys/mount.h annd linux/mount.h
are included, and backported this to the 2.36 stable release
too:

  
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

It is saner for QEMU to remove the workaround it applied for
glibc 2.36 and expect distros to ship the 2.36 maint release
with the fix. This avoids needing to add a further workaround
to QEMU to deal with the fact that linux/brtfs.h now also pulls
in linux/mount.h via linux/fs.h since Linux 6.1

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230110174901.2580297-2-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 6003159ce18faad4e1bc7bf9c85669019cd4950e
      
https://github.com/qemu/qemu/commit/6003159ce18faad4e1bc7bf9c85669019cd4950e
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c
    M meson.build

  Log Message:
  -----------
  Revert "linux-user: fix compat with glibc >= 2.36 sys/mount.h"

This reverts commit 3cd3df2a9584e6f753bb62a0028bd67124ab5532.

glibc has fixed (in 2.36.9000-40-g774058d729) the problem
that caused a clash when both sys/mount.h annd linux/mount.h
are included, and backported this to the 2.36 stable release
too:

  
https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

It is saner for QEMU to remove the workaround it applied for
glibc 2.36 and expect distros to ship the 2.36 maint release
with the fix. This avoids needing to add a further workaround
to QEMU to deal with the fact that linux/brtfs.h now also pulls
in linux/mount.h via linux/fs.h since Linux 6.1

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230110174901.2580297-3-berrange@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: dfd8c5e9b383c36ed6d9559afe331a38967998a8
      
https://github.com/qemu/qemu/commit/dfd8c5e9b383c36ed6d9559afe331a38967998a8
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.list

  Log Message:
  -----------
  linux-user: Add strace output for clock_getres_time64() and futex_time64()

Add the two syscalls to strace output to avoid "Unknown syscall" message.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230115113517.25143-1-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 6a848b522e189824f25bcfe9ec856c1f85e93fa3
      
https://github.com/qemu/qemu/commit/6a848b522e189824f25bcfe9ec856c1f85e93fa3
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.list

  Log Message:
  -----------
  linux-user: Improve strace output of getgroups() and setgroups()

Make the strace look nicer for those syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230115210057.445132-1-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 95fc5ed4a86b0d173bf55daf32e1697d11062648
      
https://github.com/qemu/qemu/commit/95fc5ed4a86b0d173bf55daf32e1697d11062648
  Author: Mike Frysinger <vapier@gentoo.org>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    A linux-user/aarch64/target_flat.h
    A linux-user/arm/target_flat.h
    A linux-user/generic/target_flat.h
    A linux-user/m68k/target_flat.h
    A linux-user/microblaze/target_flat.h
    A linux-user/sh4/target_flat.h
    R linux-user/target_flat.h

  Log Message:
  -----------
  linux-user: move target_flat.h to target subdirs

This makes target_flat.h behave like every other target_xxx.h header.
It also makes it actually work -- while the current header says adding
a header to the target subdir overrides the common one, it doesn't.
This is for two reasons:
* meson.build adds -Ilinux-user before -Ilinux-user/$arch
* the compiler search path for "target_flat.h" looks in the same dir
  as the source file before searching -I paths.

This can be seen with the xtensa port -- the subdir settings aren't
used which breaks stack setup.

Move it to the generic/ subdir and add include stubs like every
other target_xxx.h header is handled.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230129004625.11228-1-vapier@gentoo.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: cb88b7c214511736fa3bc1d9e57b23efcc61d8ab
      
https://github.com/qemu/qemu/commit/cb88b7c214511736fa3bc1d9e57b23efcc61d8ab
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Fix SO_ERROR return code of getsockopt()

Add translation for the host error return code of:
    getsockopt(19, SOL_SOCKET, SO_ERROR, [ECONNREFUSED], [4]) = 0

This fixes the testsuite of the cockpit debian package with a
hppa-linux guest on a x86-64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QzNzXg0hrzHQeo@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e0174afeea23e56765db56fbbe465ed1fcbdd07a
      
https://github.com/qemu/qemu/commit/e0174afeea23e56765db56fbbe465ed1fcbdd07a
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Fix /proc/cpuinfo output for hppa

The hppa architectures provides an own output for the emulated
/proc/cpuinfo file.

Some userspace applications count (even if that's not the recommended
way) the number of lines which start with "processor:" and assume that
this number then reflects the number of online CPUs. Since those 3
architectures don't provide any such line, applications may assume "0"
CPUs.  One such issue can be seen in debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024653

Avoid such issues by adding a "processor:" line for each of the online
CPUs.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QvyRSq1I1k5/JW@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: ab6c497e7eb8a9dca45978e5118f5c67bb74ab62
      
https://github.com/qemu/qemu/commit/ab6c497e7eb8a9dca45978e5118f5c67bb74ab62
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.list

  Log Message:
  -----------
  linux-user: Improve strace output of personality() and sysinfo()

Make the strace look nicer for those two syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QxskymWJjrKQmT@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 4530deb1fe81152ae2384a56eb7edb5467f894fa
      
https://github.com/qemu/qemu/commit/4530deb1fe81152ae2384a56eb7edb5467f894fa
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Add emulation for MADV_WIPEONFORK and MADV_KEEPONFORK in madvise()

Both parameters have a different value on the parisc platform, so first
translate the target value into a host value for usage in the native
madvise() syscall.

Those parameters are often used by security sensitive applications (e.g.
tor browser, boringssl, ...) which expect the call to return a proper
return code on failure, so return -EINVAL if qemu fails to forward the
syscall to the host OS.

While touching this code, enhance the comments about MADV_DONTNEED.

Tested with testcase of tor browser when running hppa-linux guest on
x86-64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y5iwTaydU7i66K/i@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe
      
https://github.com/qemu/qemu/commit/7020e2fd9e1d23b16c8ef86a217a865f5ec66cbe
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: Show 4th argument of rt_sigprocmask() in strace

Add output for the missing 4th parameter (size_t sigsetsize).

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9hCxdvdM1o+/iHC@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 93cf7e6c4abdbc5e678088cee4e08f615ad39766
      
https://github.com/qemu/qemu/commit/93cf7e6c4abdbc5e678088cee4e08f615ad39766
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/strace.list

  Log Message:
  -----------
  linux-user: Enhance strace output for various syscalls

Add appropriate strace printf formats for various Linux syscalls.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <Y5dsfGB1RChGfraW@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 27404b6c15c1cddae54e1044c8da815eade109fa
      
https://github.com/qemu/qemu/commit/27404b6c15c1cddae54e1044c8da815eade109fa
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Implement SOL_ALG encryption support

Add suport to handle SOL_ALG packets via sendmsg() and recvmsg().
This allows emulated userspace to use encryption functionality.

Tested with the debian ell package with hppa guest on x86_64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221212173416.90590-1-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 3f0744f98b07c6fd2ce9d5840726d0915b2ae7c1
      
https://github.com/qemu/qemu/commit/3f0744f98b07c6fd2ce9d5840726d0915b2ae7c1
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Allow sendmsg() without IOV

Applications do call sendmsg() without any IOV, e.g.:
 sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=NULL, msg_iovlen=0,
            msg_control=[{cmsg_len=36, cmsg_level=SOL_ALG, cmsg_type=0x2}],
            msg_controllen=40, msg_flags=0}, MSG_MORE) = 0
 sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="The quick brown 
fox jumps over t"..., iov_len=183}],
            msg_iovlen=1, msg_control=[{cmsg_len=20, cmsg_level=SOL_ALG, 
cmsg_type=0x3}],
            msg_controllen=24, msg_flags=0}, 0) = 183

The function do_sendrecvmsg_locked() is used for sndmsg() and recvmsg()
and calls lock_iovec() to lock the IOV into memory. For the first
sendmsg() above it returns NULL and thus wrongly skips the call the host
sendmsg() syscall, which will break the calling application.

Fix this issue by:
- allowing sendmsg() even with empty IOV
- skip recvmsg() if IOV is NULL
- skip both if the return code of do_sendrecvmsg_locked() != 0, which
  indicates some failure like EFAULT on the IOV

Tested with the debian "ell" package with hppa guest on x86_64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20221212173416.90590-2-deller@gmx.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: ceabf6e500570ecfb311d8896c4ba9da8cf21f2a
      
https://github.com/qemu/qemu/commit/ceabf6e500570ecfb311d8896c4ba9da8cf21f2a
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

  Changed paths:
    A linux-user/aarch64/target_flat.h
    A linux-user/arm/target_flat.h
    A linux-user/generic/target_flat.h
    A linux-user/m68k/target_flat.h
    A linux-user/microblaze/target_flat.h
    M linux-user/mmap.c
    A linux-user/sh4/target_flat.h
    M linux-user/strace.c
    M linux-user/strace.list
    M linux-user/syscall.c
    R linux-user/target_flat.h
    M meson.build

  Log Message:
  -----------
  Merge tag 'linux-user-for-8.0-pull-request' of 
https://gitlab.com/laurent_vivier/qemu into staging

linux-user branch pull request 20230204

Implement execveat()
un-parent OBJECT(cpu) when closing thread
Revert fix for glibc >= 2.36 sys/mount.h
Fix/update strace
move target_flat.h to target subdirs
Fix SO_ERROR return code of getsockopt()
Fix /proc/cpuinfo output for hppa
Add emulation for MADV_WIPEONFORK and MADV_KEEPONFORK in madvise()
Implement SOL_ALG encryption support
linux-user: Allow sendmsg() without IOV

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmPeguUSHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748tnQP/1A4eu33pLe4+tjBuDGt2zcGAVuz+wN9
# rcwN5BQgjILwfECfRsy9QIkC8+M496tLk4W7pNkW9x/GSpzBp9x0+066uUghsa1Q
# c0bFU0FM8xpywEXvOrz3LvEWaWqeBV/R+XYMqKFaiBQXf/5kmmteei9guH42L3gV
# a+d0s1cWT48TslTaga9ECbiPD9lK+yfW879+wRhex1/BetkJPzLU1hZB4vfC5YQo
# XagcmLWiseT4U8uCysikOgKQE4g2bv1oJXUuYjBxW15s5/llg8e57dEboO7MFEPK
# a9P3Hl1qiA5Ol3scF1I7WURmGP6UVfdhTYe1aKYHhKY7QVBVjbU7r/NkdQ3dR6Nv
# db58Lkurnrf5dMksZk8+25F/fvJT0nZpnbipunZejetNjrDVPk19XK5E6kJf91hk
# 3W3vOeWMp4QjThpqghnlQ3gm2XfVmCGSMIOywTKZ4/M/TP28+9zY7GZqQXQXCBMy
# nJFahfVTCfiYaGAYGjlMe5CMOQ6tJ6lwxuTCl9O1X565ifMBNUj3rcte1FvO/i24
# Rk0/lQVO+tD9ImxHJrei0Y2C0xzo7V8kaB9+foAf6Ku91SY1X1FIOm81DEyAhK61
# Biv2zlNwUV0aCierrn3oLuDkviVaAg6FkLO9snPG+lQy2uxgyJJ2/Pv0OCZhniWI
# 9WifjYZKAXDa
# =AcC6
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 04 Feb 2023 16:08:05 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* tag 'linux-user-for-8.0-pull-request' of 
https://gitlab.com/laurent_vivier/qemu: (22 commits)
  linux-user: Allow sendmsg() without IOV
  linux-user: Implement SOL_ALG encryption support
  linux-user: Enhance strace output for various syscalls
  linux-user: Show 4th argument of rt_sigprocmask() in strace
  linux-user: Add emulation for MADV_WIPEONFORK and MADV_KEEPONFORK in madvise()
  linux-user: Improve strace output of personality() and sysinfo()
  linux-user: Fix /proc/cpuinfo output for hppa
  linux-user: Fix SO_ERROR return code of getsockopt()
  linux-user: move target_flat.h to target subdirs
  linux-user: Improve strace output of getgroups() and setgroups()
  linux-user: Add strace output for clock_getres_time64() and futex_time64()
  Revert "linux-user: fix compat with glibc >= 2.36 sys/mount.h"
  Revert "linux-user: add more compat ioctl definitions"
  linux-user: add more netlink protocol constants
  linux-user: fix strace build w/out munlockall
  linux-user: un-parent OBJECT(cpu) when closing thread
  linux-user: Add missing MAP_HUGETLB and MAP_STACK flags in strace
  linux-user/syscall: Implement execveat()
  linux-user/syscall: Extract do_execve() from do_syscall1()
  linux-user/strace: Add output for execveat() syscall
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/025274ad2f1c...ceabf6e50057



reply via email to

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