[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140321180400.0c1b2969@gandalf.local.home>
Date: Fri, 21 Mar 2014 18:04:00 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Andi Kleen <andi@...stfloor.org>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>, x86@...nel.org,
Sandeepa Prabhu <sandeepa.prabhu@...aro.org>, fche@...hat.com,
mingo@...hat.com, Al Viro <viro@...iv.linux.org.uk>,
systemtap@...rceware.org, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Seiji Aguchi <seiji.aguchi@....com>
Subject: Re: [PATCH -tip v8 03/26] kprobes: Prohibit probing on .entry.text
code
On Wed, 05 Mar 2014 20:59:04 +0900
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com> wrote:
> struct kprobe_insn_cache {
> struct mutex mutex;
> diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index ceeadfc..5b5ac76 100644
> --- a/kernel/kprobes.c
> +++ b/kernel/kprobes.c
> @@ -96,9 +96,6 @@ static raw_spinlock_t *kretprobe_table_lock_ptr(unsigned long hash)
> static struct kprobe_blackpoint kprobe_blacklist[] = {
> {"preempt_schedule",},
> {"native_get_debugreg",},
> - {"irq_entries_start",},
> - {"common_interrupt",},
> - {"mcount",}, /* mcount can be called from everywhere */
Is mcount in the entry.text section? Also, what about ftrace_caller and
friends.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists