[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181211184300.810577f6087339bb0781068c@kernel.org>
Date: Tue, 11 Dec 2018 18:43:00 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Andrea Righi <righi.andrea@...il.com>
Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Juergen Gross <jgross@...e.com>,
Stefano Stabellini <sstabellini@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kprobes/x86/xen: blacklist non-attachable xen interrupt
functions
On Mon, 10 Dec 2018 16:12:57 +0100
Andrea Righi <righi.andrea@...il.com> 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!
Acked-by: Masami Hiramatsu <mhiramat@...nel.org>
>
> Signed-off-by: Andrea Righi <righi.andrea@...il.com>
> ---
> arch/x86/xen/xen-asm_64.S | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S
> index bb1c2da0381d..1e9ef0ba30a5 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
> --
> 2.17.1
>
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists