kprobes, x86: Prohibit probing on thunk functions and restore
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Thu, 17 Apr 2014 08:17:26 +0000 (17:17 +0900)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Apr 2014 08:02:58 +0000 (10:02 +0200)
commit98def1dedd00f42ded8423c418c971751f46aad2
tree33852494b1b3f98dcf26e30a9cc8a4cb8949ac44
parent8027197220e02d5cebbbfdff36c2827661fbc692
kprobes, x86: Prohibit probing on thunk functions and restore

thunk/restore functions are also used for tracing irqoff etc.
and those are involved in kprobe's exception handling.
Prohibit probing on them to avoid kernel crash.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20140417081726.26341.3872.stgit@ltc230.yrl.intra.hitachi.co.jp
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/lib/thunk_32.S
arch/x86/lib/thunk_64.S
This page took 0.024427 seconds and 5 git commands to generate.