diff options
author | Andy Lutomirski <luto@mit.edu> | 2011-07-13 15:24:09 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-07-13 20:22:55 +0200 |
commit | c9712944b2a12373cb6ff8059afcfb7e826a6c54 (patch) | |
tree | 73b58eddce6f56c32b90b5056032a504f3ae4f00 /arch/x86/kernel/alternative.c | |
parent | x86-64: Emulate legacy vsyscalls (diff) | |
download | linux-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