Re: [PATCH -tip ] [BUGFIX] kprobes: Fix arch_prepare_kprobe tohandle copy insn failures
From: Jonathan Lebon
Date: Fri Jun 07 2013 - 17:18:38 EST
Tested-by: Jonathan Lebon <jlebon@xxxxxxxxxx>
Stress-tested overnight in a VM with no problems.
Jonathan
----- Original Message -----
From: "Steven Rostedt" <rostedt@xxxxxxxxxxx>
To: "Masami Hiramatsu" <masami.hiramatsu.pt@xxxxxxxxxxx>
Cc: "Ingo Molnar" <mingo@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, "Ingo Molnar" <mingo@xxxxxxxxxx>, "Frank Ch. Eigler" <fche@xxxxxxxxxx>, systemtap@xxxxxxxxxxxxxx, "yrl pp-manager tt" <yrl.pp-manager.tt@xxxxxxxxxxx>
Sent: Thursday, June 6, 2013 5:06:46 PM
Subject: Re: [PATCH -tip ] [BUGFIX] kprobes: Fix arch_prepare_kprobe to handle copy insn failures
On Wed, 2013-06-05 at 12:12 +0900, Masami Hiramatsu wrote:
> Fix arch_prepare_kprobe() to handle failures in copy instruction
> correctly. This fix is related to the previous fix: 8101376
> which made __copy_instruction return an error result if failed,
> but caller site was not updated to handle it. Thus, this is the
> other half of the bugfix.
>
> This fix is also related to the following bug-report:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=910649
>
> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
> Cc: Frank Ch. Eigler <fche@xxxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
-- Steve
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> ---
> arch/x86/kernel/kprobes/core.c | 14 ++++++++++----
> 1 file changed, 10 insertions(+), 4 deletions(-)
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/