]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Adjust SVr4 NULL page mapping
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Jan 2024 01:57:37 +0000 (12:57 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Feb 2024 21:35:36 +0000 (11:35 -1000)
commitf11c05c3b90a8b873ddecc1fc037858445aa9b9c
treef05e4db0ba45ea0e6ee5f06fe16ecde1fcf11208
parenta372d483f1ea6c1a37ce7ba5c44978bd53ca7938
linux-user: Adjust SVr4 NULL page mapping

Use TARGET_PAGE_SIZE and MAP_FIXED_NOREPLACE.

We really should be attending to this earlier during
probe_guest_base, as well as better detection and
emulation of various Linux personalities.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20240102015808.132373-3-richard.henderson@linaro.org>
linux-user/elfload.c