diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-08-10 17:22:04 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-09-06 07:32:35 +0100 |
commit | fbd3c4cff641cae082edb765017cbb699efa6712 (patch) | |
tree | 012e04885c0592dd86e8228cedb5baf13a147226 /linux-user/arm | |
parent | fd28528ece590dc709d1a893fce2ff2f68ddca70 (diff) | |
download | qemu-fbd3c4cff641cae082edb765017cbb699efa6712.zip qemu-fbd3c4cff641cae082edb765017cbb699efa6712.tar.gz qemu-fbd3c4cff641cae082edb765017cbb699efa6712.tar.bz2 |
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>
Diffstat (limited to 'linux-user/arm')
-rw-r--r-- | linux-user/arm/target_cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/arm/target_cpu.h b/linux-user/arm/target_cpu.h index 709d19b..89ba274 100644 --- a/linux-user/arm/target_cpu.h +++ b/linux-user/arm/target_cpu.h @@ -34,9 +34,9 @@ static inline unsigned long arm_max_reserved_va(CPUState *cs) } else { /* * We need to be able to map the commpage. - * See validate_guest_space in linux-user/elfload.c. + * See init_guest_commpage in linux-user/elfload.c. */ - return 0xffff0000ul; + return 0xfffffffful; } } #define MAX_RESERVED_VA arm_max_reserved_va |