summaryrefslogtreecommitdiff
path: root/arch/x86/entry/vsyscall/vsyscall_gtod.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2019-06-26 21:45:04 -0700
committerThomas Gleixner <tglx@linutronix.de>2019-06-28 00:04:39 +0200
commit918ce325098a4eef99daad7b6796da33cebaf03a (patch)
tree350e3c5a1bae0686cb0050a466b85917792e4b7f /arch/x86/entry/vsyscall/vsyscall_gtod.c
parentbd49e16e3339f052fae05fb3e955c5db0c9c6445 (diff)
x86/vsyscall: Show something useful on a read fault
Just segfaulting the application when it tries to read the vsyscall page in xonly mode is not helpful for those who need to debug it. Emit a hint. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Cc: Florian Weimer <fweimer@redhat.com> Cc: Jann Horn <jannh@google.com> Link: https://lkml.kernel.org/r/8016afffe0eab497be32017ad7f6f7030dc3ba66.1561610354.git.luto@kernel.org
Diffstat (limited to 'arch/x86/entry/vsyscall/vsyscall_gtod.c')
0 files changed, 0 insertions, 0 deletions