[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221128142123.5b5570bc@gandalf.local.home>
Date: Mon, 28 Nov 2022 14:21:23 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
Cc: Li Huafei <lihuafei1@...wei.com>, <naveen.n.rao@...ux.ibm.com>,
<anil.s.keshavamurthy@...el.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kprobes: Fix check for probe enabled in kill_kprobe()
On Mon, 28 Nov 2022 17:48:43 +0900
Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
> On Sat, 26 Nov 2022 19:43:16 +0800
> Li Huafei <lihuafei1@...wei.com> wrote:
>
> > In kill_kprobe(), the check whether disarm_kprobe_ftrace() needs to be
> > called always fails. This is because before that we set the
> > KPROBE_FLAG_GONE flag for kprobe so that "!kprobe_disabled(p)" is always
> > false.
>
> Good catch!
>
> Acked-by: Masami Hiramatsu (Google) <mhiramat@...nel.org>
>
> Thank you!
Looks good.
Reviewed-by: Steven Rostedt (Google) <rostedt@...dmis.org>
-- Steve
Powered by blists - more mailing lists