alistair23-linux/arch/s390/kvm
Christian Borntraeger 614a80e474 KVM: s390: Fix user triggerable bug in dead code
In the early days, we had some special handling for the
KVM_EXIT_S390_SIEIC exit, but this was gone in 2009 with commit
d7b0b5eb30 (KVM: s390: Make psw available on all exits, not
just a subset).

Now this switch statement is just a sanity check for userspace
not messing with the kvm_run structure. Unfortunately, this
allows userspace to trigger a kernel BUG. Let's just remove
this switch statement.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
2014-08-25 14:35:15 +02:00
..
diag.c KVM: s390: implement KVM_(S|G)ET_MP_STATE for user space state control 2014-07-10 14:11:17 +02:00
gaccess.c KVM: s390: Enable DAT support for TPROT handler 2014-05-30 09:39:36 +02:00
gaccess.h KVM: s390: Enable DAT support for TPROT handler 2014-05-30 09:39:36 +02:00
guestdbg.c KVM: s390: return -EFAULT if copy_from_user() fails 2014-05-06 14:57:59 +02:00
intercept.c KVM: s390: implement KVM_(S|G)ET_MP_STATE for user space state control 2014-07-10 14:11:17 +02:00
interrupt.c KVM: irqchip: Provide and use accessors for irq routing table 2014-08-05 14:26:16 +02:00
irq.h KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
Kconfig KVM: Give IRQFD its own separate enabling Kconfig option 2014-08-05 14:26:28 +02:00
kvm-s390.c KVM: s390: Fix user triggerable bug in dead code 2014-08-25 14:35:15 +02:00
kvm-s390.h KVM: s390: remove the tasklet used by the hrtimer 2014-07-21 13:22:42 +02:00
Makefile KVM: s390: hardware support for guest debugging 2014-04-22 13:24:51 +02:00
priv.c KVM: s390: Enable DAT support for TPROT handler 2014-05-30 09:39:36 +02:00
sigp.c KVM: s390: Fix memory leak on busy SIGP stop 2014-07-30 15:29:40 +02:00
trace-s390.h KVM: s390: enable IBS for single running VCPUs 2014-04-29 15:01:54 +02:00
trace.h KVM: s390: interpretive execution of SIGP EXTERNAL CALL 2014-05-16 14:57:28 +02:00