https://github.com/torvalds/linux
Revision 4831b779403a836158917d59a7ca880483c67378 authored by Andy Lutomirski on 11 December 2017, 06:47:20 UTC, committed by Ingo Molnar on 22 December 2017, 19:13:01 UTC
If something goes wrong with pagetable setup, vsyscall=native will
accidentally fall back to emulation.  Make it warn and fail so that we
notice.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Laight <David.Laight@aculab.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 49275fe
History
Tip revision: 4831b779403a836158917d59a7ca880483c67378 authored by Andy Lutomirski on 11 December 2017, 06:47:20 UTC
x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode
Tip revision: 4831b77
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 40.1 KB
msg.c -rw-r--r-- 27.4 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.8 KB
sem.c -rw-r--r-- 58.0 KB
shm.c -rw-r--r-- 38.6 KB
syscall.c -rw-r--r-- 4.3 KB
util.c -rw-r--r-- 21.8 KB
util.h -rw-r--r-- 7.0 KB

back to top