linux-user: Adjust guest page protection for the host
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 19 May 2020 18:56:45 +0000 (11:56 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 23 Aug 2020 14:57:58 +0000 (16:57 +0200)
commit4eaa960dbcd3fbd51047eacbbc20a9882a0eca63
treec8acf9cb9083e51ded70b3e106a98acd94f18c57
parent9dba3ca5af80a7d4b5269685ceaa27ca04199cf4
linux-user: Adjust guest page protection for the host

Executable guest pages are never directly executed by
the host, but do need to be readable for translation.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200519185645.3915-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/mmap.c