|
From: tip-bot f. M. H. <mhi...@re...> - 2010-02-15 05:23:17
|
Commit-ID: 8b833c506c05c498d4215e2c260be44225daf6de Gitweb: http://git.kernel.org/tip/8b833c506c05c498d4215e2c260be44225daf6de Author: Masami Hiramatsu <mhi...@re...> AuthorDate: Fri, 5 Feb 2010 01:24:34 -0500 Committer: Ingo Molnar <mi...@el...> CommitDate: Mon, 15 Feb 2010 05:45:49 +0100 kprobes: Add mcount to the kprobes blacklist Since mcount function can be called from everywhere, it should be blacklisted. Moreover, the "mcount" symbol is a special symbol name. So, it is better to put it in the generic blacklist. Signed-off-by: Masami Hiramatsu <mhi...@re...> Cc: systemtap <sys...@so...> Cc: DLE <dle...@li...> Cc: Ananth N Mavinakayanahalli <an...@in...> Cc: Steven Rostedt <ro...@go...> LKML-Reference: <201...@dh...> Signed-off-by: Ingo Molnar <mi...@el...> --- kernel/kprobes.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/kprobes.c b/kernel/kprobes.c index b7df302..c4b4343 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c @@ -93,6 +93,7 @@ static struct kprobe_blackpoint kprobe_blacklist[] = { {"native_get_debugreg",}, {"irq_entries_start",}, {"common_interrupt",}, + {"mcount",}, /* mcount can be called from everywhere */ {NULL} /* Terminator */ }; |