kprobes/x86/xen: blacklist non-attachable xen interrupt functions
Subsystems (2)
PATCH 1/1 kprobes/x86/xen: blacklist non-attachable xen interrupt functions
Blacklist symbols in Xen probe-prohibited areas, so that user can see these prohibited symbols in debugfs.
See also: a50480cb6d61.
--- arch/x86/xen/xen-asm_64.S | 2 ++ 1 file changed, 2 insertions(+)
arch/x86/xen/xen-asm_64.S +2 -0
@@ -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
Signature · 1 line
2.17.1
Quoted 4 lines · On Mon, 10 Dec 2018 16:12:57 +0100 Andrea Righi <[email protected]> wrote:
Blacklist symbols in Xen probe-prohibited areas, so that user can see these prohibited symbols in debugfs.
See also:
a50480cb6d61.
Looks good to me, thanks!
Quoted 29 lines
Signed-off-by Andrea Righi <[email protected]>--- arch/x86/xen/xen-asm_64.S | 2 ++ 1 file changed, 2 insertions(+)arch/x86/xen/xen-asm_64.S +2
-0@@ -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_errorSignature · 1 line
2.17.1
Signature · 1 line
Masami Hiramatsu <[email protected]>
Quoted 4 lines · On Mon, 10 Dec 2018 16:12:57 +0100 Andrea Righi <[email protected]> wrote:
Blacklist symbols in Xen probe-prohibited areas, so that user can see these prohibited symbols in debugfs.
See also:
a50480cb6d61.
Looks good to me, thanks!
Quoted 29 lines
Signed-off-by Andrea Righi <[email protected]>--- arch/x86/xen/xen-asm_64.S | 2 ++ 1 file changed, 2 insertions(+)arch/x86/xen/xen-asm_64.S +2
-0@@ -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_errorSignature · 1 line
2.17.1
Signature · 6 lines
Masami Hiramatsu <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 6 lines · Andrea Righi
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 <[email protected]>
Applied to for-linus-4.21
-boris
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 6 lines · Andrea Righi
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 <[email protected]>
Applied to for-linus-4.21
-boris