summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/alternative.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@mit.edu>2011-07-13 15:24:09 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2011-07-13 20:22:55 +0200
commitc9712944b2a12373cb6ff8059afcfb7e826a6c54 (patch)
tree73b58eddce6f56c32b90b5056032a504f3ae4f00 /arch/x86/kernel/alternative.c
parentx86-64: Emulate legacy vsyscalls (diff)
downloadlinux-c9712944b2a12373cb6ff8059afcfb7e826a6c54.tar.xz
linux-c9712944b2a12373cb6ff8059afcfb7e826a6c54.zip
x86-64: Improve vsyscall emulation CS and RIP handling
Three fixes here: - Send SIGSEGV if called from compat code or with a funny CS. - Don't BUG on impossible addresses. - Add a missing local_irq_disable. This patch also removes an unused variable. Signed-off-by: Andy Lutomirski <luto@mit.edu> Link: http://lkml.kernel.org/r/6fb2b13ab39b743d1e4f466eef13425854912f7f.1310563276.git.luto@mit.edu Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/alternative.c')
0 files changed, 0 insertions, 0 deletions