OSDN Git Service

linux-user/arm: Mark the commpage executable
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 11 Aug 2022 00:22:04 +0000 (17:22 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 6 Sep 2022 06:32:35 +0000 (07:32 +0100)
commitfbd3c4cff641cae082edb765017cbb699efa6712
tree012e04885c0592dd86e8228cedb5baf13a147226
parentfd28528ece590dc709d1a893fce2ff2f68ddca70
linux-user/arm: Mark the commpage executable

We're about to start validating PAGE_EXEC, which means
that we've got to mark the commpage executable.  We had
been placing the commpage outside of reserved_va, which
was incorrect and lead to an abort.

Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/arm/target_cpu.h
linux-user/elfload.c