android_kernel_google_msm/arch
Christian Borntraeger f999b1962a KVM: s390: Fix user triggerable bug in dead code
commit 614a80e474 upstream.

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>
[lizf: Backported to 3.4:
 - adjust context
 - no KVM_EXIT_S390_TSCH and KVM_EXIT_DEBUG in 3.4]
Signed-off-by: Zefan Li <lizefan@huawei.com>
2014-12-01 18:02:20 +08:00
..
alpha alpha: add io{read,write}{16,32}be functions 2014-09-25 11:49:19 +08:00
arm ARM: 8129/1: errata: work around Cortex-A15 erratum 830321 using dummy strex 2014-09-25 11:49:16 +08:00
avr32 avr32: Makefile: add '-D__linux__' flag for gcc-4.4.7 use 2014-03-11 16:09:57 -07:00
blackfin
c6x
cris cris: media platform drivers: fix build 2013-11-29 10:50:37 -08:00
frv frv: Use core allocator for task_struct 2013-08-20 08:26:28 -07:00
h8300
hexagon
ia64 exec/ptrace: fix get_dumpable() incorrect tests 2013-11-29 10:50:34 -08:00
m32r m32r: make memset() global for CONFIG_KERNEL_BZIP2=y 2013-09-14 06:02:11 -07:00
m68k m68k/atari: ARAnyM - Fix NatFeat module support 2013-08-20 08:26:29 -07:00
microblaze microblaze: Update microblaze defconfigs 2013-08-20 08:26:27 -07:00
mips MIPS: Fix accessing to per-cpu data when flushing the cache 2014-09-25 11:49:17 +08:00
mn10300
openrisc openrisc: add missing header inclusion 2014-09-25 11:49:17 +08:00
parisc parisc: fix epoll_pwait syscall on compat kernel 2014-06-07 16:01:57 -07:00
powerpc powerpc/perf: Never program book3s PMCs with values >= 0x80000000 2014-07-17 15:39:50 -07:00
s390 KVM: s390: Fix user triggerable bug in dead code 2014-12-01 18:02:20 +08:00
score
sh sh: fix format string bug in stack tracer 2014-05-06 07:51:45 -07:00
sparc arch/sparc/math-emu/math_32.c: drop stray break operator 2014-08-14 08:42:37 +08:00
tile tile: use a more conservative __my_cpu_offset in CONFIG_PREEMPT 2013-10-13 15:42:50 -07:00
um um: add missing declaration of 'getrlimit()' and friends 2013-12-11 22:34:11 -08:00
unicore32 UniCore32-bugfix: fix mismatch return value of __xchg_bad_pointer 2014-09-25 11:49:18 +08:00
x86 x86/espfix/xen: Fix allocation of pages for paravirt page tables 2014-08-07 12:00:11 -07:00
xtensa xtensa: fix a6 and a7 handling in fast_syscall_xtensa 2014-09-25 11:49:12 +08:00
.gitignore
Kconfig