[PATCH -tip v8 06/26] [BUGFIX] x86: Prohibit probing on native_set_debugreg/load_idt
Steven Rostedt
rostedt@goodmis.org
Sat Mar 22 00:53:00 GMT 2014
On Wed, 05 Mar 2014 20:59:25 +0900
Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> wrote:
> Prohibit probing on native_set_debugreg and native_load_idt.
> Since the kprobes uses do_debug for single stepping,
> functions called from do_debug before notify_die must not
> be probed.
> And also native_load_idt is called from paranoid_exit when
> returning int3, this also must not be probed.
>
> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
> Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve
More information about the Systemtap
mailing list