qemu-e2k/accel/tcg
Richard Henderson 7f2cf760fe linux-user/aarch64: Do not clear PROT_MTE on mprotect
The documentation for PROT_MTE says that it cannot be cleared
by mprotect.  Further, the implementation of the VM_ARCH_CLEAR bit,
contains PROT_BTI confiming that bit should be cleared.

Introduce PAGE_TARGET_STICKY to allow target/arch/cpu.h to control
which bits may be reset during page_set_flags.  This is sort of the
opposite of VM_ARCH_CLEAR, but works better with qemu's PAGE_* bits
that are separate from PROT_* bits.

Reported-by: Vitaly Buka <vitalybuka@google.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220711031420.17820-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2022-07-18 13:20:13 +01:00
..
atomic_common.c.inc
atomic_template.h
cpu-exec-common.c
cpu-exec.c accel/tcg: Inline dump_opcount_info() and remove it 2022-06-11 11:44:50 +02:00
cputlb.c accel/tcg: Fix unaligned stores to s390x low-address-protected lowcore 2022-07-12 10:43:33 +05:30
hmp.c
internal.h compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
ldst_common.c.inc
meson.build
plugin-gen.c
plugin-helpers.h
tb-context.h
tb-hash.h
tcg-accel-ops-icount.c replay: rewrite async event handling 2022-06-06 09:26:53 +02:00
tcg-accel-ops-icount.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
tcg-accel-ops-mttcg.c accel/tcg: Init TCG cflags in vCPU thread handler 2022-06-20 13:11:36 -07:00
tcg-accel-ops-mttcg.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
tcg-accel-ops-rr.c accel/tcg: Init TCG cflags in vCPU thread handler 2022-06-20 13:11:36 -07:00
tcg-accel-ops-rr.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
tcg-accel-ops.c accel/tcg: Reorganize tcg_accel_ops_init() 2022-06-20 13:11:36 -07:00
tcg-accel-ops.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
tcg-all.c
tcg-runtime-gvec.c
tcg-runtime.c
tcg-runtime.h
trace-events
trace.h
translate-all.c linux-user/aarch64: Do not clear PROT_MTE on mprotect 2022-07-18 13:20:13 +01:00
translator.c
user-exec-stub.c
user-exec.c Fix 'writeable' typos 2022-06-08 19:38:47 +01:00