OpenCloudOS-Kernel/arch/x86/vdso
Andy Lutomirski 368b69a5b0 x86, vdso: Fix an OOPS accessing the HPET mapping w/o an HPET
The oops can be triggered in qemu using -no-hpet (but not nohpet) by
running a 32-bit program and reading a couple of pages before the vdso.
This should send SIGBUS instead of OOPSing.

The bug was introduced by:

commit 7a59ed415f
Author: Stefani Seibold <stefani@seibold.net>
Date:   Mon Mar 17 23:22:09 2014 +0100

    x86, vdso: Add 32 bit VDSO time support for 32 bit kernel

which is new in 3.15.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/e99025d887d6670b6c4d81e6ccfeeb83770b21e9.1400109621.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-05-21 16:14:04 -07:00
..
vdso32 x86, vdso: Fix the symbol versions on the 32-bit vDSO 2014-03-30 10:08:38 -07:00
.gitignore x32: Add x32 VDSO support 2012-02-20 12:52:06 -08:00
Makefile Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-04-02 12:26:43 -07:00
checkundef.sh x86, vdso: Don't quote $nm in the script for checking vdso references 2010-07-27 23:52:29 -07:00
vclock_gettime.c x86, vdso: Add 32 bit VDSO time support for 64 bit kernel 2014-03-18 12:52:41 -07:00
vdso-layout.lds.S x86, vdso: Make the vdso linker script compatible with Gold 2014-04-03 12:03:59 -07:00
vdso-note.S x86_64: move vdso 2007-10-11 11:17:10 +02:00
vdso.S x86, vdso: Move more vdso definitions into vdso.h 2014-03-20 20:20:08 -07:00
vdso.lds.S x86-64: Add time to vDSO 2011-05-24 14:51:29 +02:00
vdso32-setup.c x86, vdso: Fix an OOPS accessing the HPET mapping w/o an HPET 2014-05-21 16:14:04 -07:00
vdso32.S x86, vdso: Move more vdso definitions into vdso.h 2014-03-20 20:20:08 -07:00
vdsox32.S x86, vdso: Move more vdso definitions into vdso.h 2014-03-20 20:20:08 -07:00
vdsox32.lds.S x32: Drop non-__vdso weak symbols from the x32 VDSO 2012-02-22 20:40:07 -08:00
vgetcpu.c x86: vdso: pvclock gettime support 2012-11-27 23:29:11 -02:00
vma.c x86, vdso: Move more vdso definitions into vdso.h 2014-03-20 20:20:08 -07:00