diff options
author | Andrea Righi <righi.andrea@gmail.com> | 2018-12-10 16:12:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:20:25 +0100 |
commit | 24d992bcaa5ac8f2f28e62f54d8db504b24ed0c1 (patch) | |
tree | 57d6abedf51c26f444cf4712cdd73d2be904f2cc | |
parent | ab77c2c16da82e50f46a66699b9eceb78022d163 (diff) | |
download | linux-stable-24d992bcaa5ac8f2f28e62f54d8db504b24ed0c1.tar.gz linux-stable-24d992bcaa5ac8f2f28e62f54d8db504b24ed0c1.tar.bz2 linux-stable-24d992bcaa5ac8f2f28e62f54d8db504b24ed0c1.zip |
kprobes/x86/xen: blacklist non-attachable xen interrupt functions
[ Upstream commit bf9445a33ae6ac2f0822d2f1ce1365408387d568 ]
Blacklist symbols in Xen probe-prohibited areas, so that user can see
these prohibited symbols in debugfs.
See also: a50480cb6d61.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | arch/x86/xen/xen-asm_64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S index 3a6feed76dfc..a93d8a7cef26 100644 --- a/arch/x86/xen/xen-asm_64.S +++ b/arch/x86/xen/xen-asm_64.S @@ -12,6 +12,7 @@ #include <asm/segment.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> +#include <asm/asm.h> #include <xen/interface/xen.h> @@ -24,6 +25,7 @@ ENTRY(xen_\name) pop %r11 jmp \name END(xen_\name) +_ASM_NOKPROBE(xen_\name) .endm xen_pv_trap divide_error |