]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Preserve NULL hit in target_mmap subroutines
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 13 Aug 2024 06:33:58 +0000 (16:33 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 28 Aug 2024 05:37:29 +0000 (08:37 +0300)
commit1f1cbbd0d707d532477c9c58360306ccd920ddf1
tree5cd78afb871de1a3b48cbbd57a4c2afe5fdb9579
parentdb1f458542a98b336f60782f1066ed6dc6701e13
linux-user: Preserve NULL hit in target_mmap subroutines

Do not pass guest_base to the host mmap instead of zero hint.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2353
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 3aefee3ec01e607529a9918e2978f365c5c3b5e9)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/mmap.c