From: Masami Hiramatsu Date: Thu, 17 Apr 2014 08:17:19 +0000 (+0900) Subject: kprobes, x86: Prohibit probing on native_set_debugreg()/load_idt() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~13^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8027197220e02d5cebbbfdff36c2827661fbc692;p=pandora-kernel.git kprobes, x86: Prohibit probing on native_set_debugreg()/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 Reviewed-by: Steven Rostedt Cc: Alok Kataria Cc: Chris Wright Cc: Jeremy Fitzhardinge Cc: Rusty Russell Cc: virtualization@lists.linux-foundation.org Link: http://lkml.kernel.org/r/20140417081719.26341.65542.stgit@ltc230.yrl.intra.hitachi.co.jp Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed