[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 23fff7: linux-user/s390x: Use the guest point
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 23fff7: linux-user/s390x: Use the guest pointer for the si... |
Date: |
Sun, 28 Mar 2021 11:50:30 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 23fff7a17f47420797ac6480147941612152a9ad
https://github.com/qemu/qemu/commit/23fff7a17f47420797ac6480147941612152a9ad
Author: Andreas Krebbel <krebbel@linux.ibm.com>
Date: 2021-03-25 (Thu, 25 Mar 2021)
Changed paths:
M linux-user/s390x/signal.c
Log Message:
-----------
linux-user/s390x: Use the guest pointer for the sigreturn stub
When setting up the pointer for the sigreturn stub in the return
address register (r14) we currently use the host frame address instead
of the guest frame address.
Note: This only caused problems if Qemu has been built with
--disable-pie (as it is in distros nowadays). Otherwise guest_base
defaults to 0 hiding the actual problem.
Signed-off-by: Andreas Krebbel <krebbel@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210324185128.63971-1-krebbel@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 4a1e6bce2308b720d79d5ea0a3d24501c89bd80c
https://github.com/qemu/qemu/commit/4a1e6bce2308b720d79d5ea0a3d24501c89bd80c
Author: Zach Reizner <zachr@google.com>
Date: 2021-03-27 (Sat, 27 Mar 2021)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: allow NULL msg in recvfrom
The kernel allows a NULL msg in recvfrom so that he size of the next
message may be queried before allocating a correctly sized buffer. This
change allows the syscall translator to pass along the NULL msg pointer
instead of returning early with EFAULT.
Signed-off-by: Zach Reizner <zachr@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <CAFNex=DvFCq=AQf+=19fTfw-T8eZZT=3NnFFm2JMFvVr5QgQyA@mail.gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: ec2e6e016d24bd429792d08cf607e4c5350dcdaa
https://github.com/qemu/qemu/commit/ec2e6e016d24bd429792d08cf607e4c5350dcdaa
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-03-28 (Sun, 28 Mar 2021)
Changed paths:
M linux-user/s390x/signal.c
M linux-user/syscall.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/vivier2/tags/linux-user-for-6.0-pull-request' into staging
linux-user pull request 20210328
- Fix recvfrom with NULL msg
- Fix sigreturn address on s390x
# gpg: Signature made Sun 28 Mar 2021 17:05:45 BST
# 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
* remotes/vivier2/tags/linux-user-for-6.0-pull-request:
linux-user: allow NULL msg in recvfrom
linux-user/s390x: Use the guest pointer for the sigreturn stub
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/7b9a3c9f94bc...ec2e6e016d24
- [Qemu-commits] [qemu/qemu] 23fff7: linux-user/s390x: Use the guest pointer for the si...,
Peter Maydell <=