[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 734a65: linux-user/flatload.c: Fix setting of
From: |
Richard Henderson |
Subject: |
[Qemu-commits] [qemu/qemu] 734a65: linux-user/flatload.c: Fix setting of image_info::... |
Date: |
Wed, 03 Aug 2022 08:33:16 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 734a659ad264ac080457167e845ffabbaaa66d0e
https://github.com/qemu/qemu/commit/734a659ad264ac080457167e845ffabbaaa66d0e
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2022-07-28 (Thu, 28 Jul 2022)
Changed paths:
M linux-user/flatload.c
Log Message:
-----------
linux-user/flatload.c: Fix setting of image_info::end_code
The flatload loader sets the end_code field in the image_info struct
incorrectly, due to a typo.
This is a very long-standing bug (dating all the way back to when
the bFLT loader was added in 2006), but has gone unnoticed because
(a) most people don't use bFLT binaries
(b) we don't actually do anything with the end_code field, except
print it in debugging traces and pass it to TCG plugins
Fix the typo.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1119
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220728151406.2262862-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: f71fa4e3bb22f534ee668e7f4bdf64e59c193afd
https://github.com/qemu/qemu/commit/f71fa4e3bb22f534ee668e7f4bdf64e59c193afd
Author: Ilya Leoshkevich <iii@linux.ibm.com>
Date: 2022-07-29 (Fri, 29 Jul 2022)
Changed paths:
M linux-user/mmap.c
Log Message:
-----------
linux-user: Do not treat madvise()'s advice as a bitmask
Advice is enum, not flags. Doing (advice & MADV_DONTNEED) also matches
e.g. MADV_MERGEABLE.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220725134100.128035-1-iii@linux.ibm.com>
Fixes: 892a4f6a750a ("linux-user: Add partial support for MADV_DONTNEED")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: 5b63de6b54add51822db3c89325c6fc05534a54c
https://github.com/qemu/qemu/commit/5b63de6b54add51822db3c89325c6fc05534a54c
Author: Rainer Müller <raimue@codingfarm.de>
Date: 2022-08-02 (Tue, 02 Aug 2022)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: Use memfd for open syscall emulation
For certain paths in /proc, the open syscall is intercepted and the
returned file descriptor points to a temporary file with emulated
contents.
If TMPDIR is not accessible or writable for the current user (for
example in a read-only mounted chroot or container) tools such as ps
from procps may fail unexpectedly. Trying to read one of these paths
such as /proc/self/stat would return an error such as ENOENT or EROFS.
To relax the requirement on a writable TMPDIR, use memfd_create()
instead to create an anonymous file and return its file descriptor.
Signed-off-by: Rainer Müller <raimue@codingfarm.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220729154951.76268-1-raimue@codingfarm.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Commit: d2656dd577754129f86328f95e6ee4a241913d6f
https://github.com/qemu/qemu/commit/d2656dd577754129f86328f95e6ee4a241913d6f
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-08-02 (Tue, 02 Aug 2022)
Changed paths:
M VERSION
Log Message:
-----------
Update version for v7.1.0-rc1 release
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 2480f3bbd03814b0651a1f74959f5c6631ee5819
https://github.com/qemu/qemu/commit/2480f3bbd03814b0651a1f74959f5c6631ee5819
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2022-08-03 (Wed, 03 Aug 2022)
Changed paths:
M linux-user/flatload.c
M linux-user/mmap.c
M linux-user/syscall.c
Log Message:
-----------
Merge tag 'linux-user-for-7.1-pull-request' of
https://gitlab.com/laurent_vivier/qemu into staging
Pull request linux-user 20220803
# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmLqjIMSHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748bpAP/1HW4wQztNCDL2epXGtDMTHFIjsLlc05
# h/3BwnXXXbRv/m4+IEJLITI5WpyZ24CGgA5kIFPRDxLCIHxcTo5etzqkJzxhnRvU
# MNP3m8L5gSAUUZhD8Xw2b95V8vOv4cu8J+sgub8ZaRXJpcHK1cuCF43OeI3bBuoz
# HNVY8XHl0E46JyXQmK9/phBRSK8INhlMIORd+k/GzSx7+9/UdIqTj1kVpdgbQ8we
# GqrnVW9hYA2T2vUL3SEV8t6GE6lSGRr9bvsyRRfLxJanUEQbGmbJPvqBwjamRwUF
# xZOBou/cYQOoI9AVku9bL+h2ITGfrfNZ8Oo7r7oOrz+ZjBfL9hUQqhFhI/oI265n
# 4ivzdOcsXH6OT7X+JdZRvyv6pxVL7ycu2KCKvmnNvQSocGHT1OvFqIHAWd+NAdEr
# c4q1ob1QdUfZjrzjzLR/qY2NPZat1Ge5lSIXOwC1G3T5umuw8cV7BV9KJJRoQXfE
# AWeXsLKqqByQ59z+qObnFIkUXLaUOzKMjHNFpDGSqk+dzXxQYJtBn+b8ZLoL9MLa
# miIN9imVzI2gzolIBz9Za2pnBw72bIR2PdXd3zfKH0cqmytOhKlMIEK4KJcB6kMB
# CNAbszUwrmBSopGGryf+hLMk9VsPLVUg+Yqnc6/GLY8LF9d8Xr5rd8UzelYowBuh
# 3UR/V06U2Skv
# =41sQ
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 03 Aug 2022 07:56:03 AM PDT
# gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg: issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [undefined]
# gpg: aka "Laurent Vivier <laurent@vivier.eu>" [undefined]
# gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
[undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* tag 'linux-user-for-7.1-pull-request' of
https://gitlab.com/laurent_vivier/qemu:
linux-user: Use memfd for open syscall emulation
linux-user: Do not treat madvise()'s advice as a bitmask
linux-user/flatload.c: Fix setting of image_info::end_code
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Compare: https://github.com/qemu/qemu/compare/b15bd4532f52...2480f3bbd038
- [Qemu-commits] [qemu/qemu] 734a65: linux-user/flatload.c: Fix setting of image_info::...,
Richard Henderson <=