[PATCH] disallow kprobes on notifier_call_chain
authorbibo,mao <bibo.mao@intel.com>
Mon, 2 Oct 2006 09:17:34 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:16 +0000 (07:57 -0700)
commitf2aa85a0ccd90110e76c6375535adc3ae358f971
treedc4db8faacd37ec0d09ec719b53b8550cbe0dbc9
parent62c27be0dd8144e11bd3ed054a0fb890579925f8
[PATCH] disallow kprobes on notifier_call_chain

When kprobe is re-entered, the re-entered kprobe kernel path will will call
atomic_notifier_call_chain function, if this function is kprobed that will
incur numerous kprobe recursive fault.  This patch disallows kprobes on
atomic_notifier_call_chain function.

Signed-off-by: bibo, mao <bibo.mao@intel.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c