Commit 24d992bc authored by Andrea Righi's avatar Andrea Righi Committed by Greg Kroah-Hartman

kprobes/x86/xen: blacklist non-attachable xen interrupt functions

[ Upstream commit bf9445a3 ]

Blacklist symbols in Xen probe-prohibited areas, so that user can see
these prohibited symbols in debugfs.

See also: a50480cb.
Signed-off-by: default avatarAndrea Righi <righi.andrea@gmail.com>
Acked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ab77c2c1
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <asm/segment.h> #include <asm/segment.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
#include <asm/thread_info.h> #include <asm/thread_info.h>
#include <asm/asm.h>
#include <xen/interface/xen.h> #include <xen/interface/xen.h>
...@@ -24,6 +25,7 @@ ENTRY(xen_\name) ...@@ -24,6 +25,7 @@ ENTRY(xen_\name)
pop %r11 pop %r11
jmp \name jmp \name
END(xen_\name) END(xen_\name)
_ASM_NOKPROBE(xen_\name)
.endm .endm
xen_pv_trap divide_error xen_pv_trap divide_error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment