]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fault: Plumb error code and fault address through to fault handlers
authorJann Horn <jannh@google.com>
Tue, 28 Aug 2018 20:14:19 +0000 (22:14 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Sep 2018 13:12:09 +0000 (15:12 +0200)
commitef08f88bb75398cdc137cb0ef7b9070d38e11706
tree489c7c8c196a5521a7835474fe113158856c2f4a
parent5a878a80f794eebb6fb89d485f301c1b3f8cbf5e
x86/fault: Plumb error code and fault address through to fault handlers

This is preparation for looking at trap number and fault address in the
handlers for uaccess errors. No functional change.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Kees Cook <keescook@chromium.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: kernel-hardening@lists.openwall.com
Cc: linux-kernel@vger.kernel.org
Cc: dvyukov@google.com
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Cc: Borislav Petkov <bp@alien8.de>
Link: https://lkml.kernel.org/r/20180828201421.157735-6-jannh@google.com
arch/x86/include/asm/extable.h
arch/x86/include/asm/ptrace.h
arch/x86/kernel/cpu/mcheck/mce.c
arch/x86/kernel/traps.c
arch/x86/mm/extable.c
arch/x86/mm/fault.c