qemu-e2k/target-s390x
Alexander Graf 9814fed0af target-s390x: Only access allocated storage keys
We allocate ram_size / PAGE_SIZE storage keys, so we need to make sure that
we only access that many. Unfortunately the code can overrun this array by
one, potentially overwriting unrelated memory.

Fix it by limiting storage keys to their scope.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
2015-06-05 01:38:00 +02:00
..
Makefile.objs s390x/mmu: Move mmu_translate() and friends to separate file 2015-02-18 09:36:38 +01:00
arch_dump.c s390x: Add vector registers to ELF dump 2015-05-27 17:52:03 +02:00
cc_helper.c target-s390x: fix CC computation for LOAD POSITIVE instructions 2015-06-05 01:37:57 +02:00
cpu-qom.h s390x/kvm: migrate vcpu interrupt state 2015-05-08 10:36:19 +02:00
cpu.c target-s390x: detect tininess before rounding for FP operations 2015-06-05 01:37:58 +02:00
cpu.h target-s390x: add a cpu_mmu_idx_to_asc function 2015-06-05 01:37:59 +02:00
fpu_helper.c target-s390x: implement LOAD FP INTEGER instructions 2015-06-05 01:37:59 +02:00
gdbstub.c s390x: gdb updates for vector registers 2015-05-27 17:52:03 +02:00
helper.c target-s390x: support non current ASC in s390_cpu_handle_mmu_fault 2015-06-05 01:37:59 +02:00
helper.h target-s390x: implement TRANSLATE EXTENDED instruction 2015-06-05 01:37:59 +02:00
insn-data.def target-s390x: implement high-word facility 2015-06-05 01:37:59 +02:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c target-s390x: remove unused helpers 2015-06-05 01:37:57 +02:00
interrupt.c s390x: Fix sclp console input 2014-11-05 12:01:28 +01:00
ioinst.c s390x/kvm: Support access register mode for KVM_S390_MEM_OP ioctl 2015-04-30 13:21:42 +02:00
ioinst.h s390x/ioinst: Rework memory access in TPI instruction 2015-02-18 09:37:15 +01:00
kvm.c kvm: introduce kvm_arch_msi_data_to_gsi 2015-06-02 14:56:25 +01:00
machine.c s390x: Migrate vector registers 2015-05-27 17:52:03 +02:00
mem_helper.c target-s390x: fix MVC instruction when areas overlap 2015-06-05 01:37:59 +02:00
misc_helper.c target-s390x: fix PSW value on dynamical exception from helpers 2015-06-05 01:37:58 +02:00
mmu_helper.c target-s390x: Only access allocated storage keys 2015-06-05 01:38:00 +02:00
translate.c target-s390x: implement high-word facility 2015-06-05 01:37:59 +02:00