[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210204065503.GG210@DESKTOP-TDPLP67.localdomain>
Date: Thu, 4 Feb 2021 12:25:03 +0530
From: "Naveen N . Rao" <naveen.n.rao@...ux.vnet.ibm.com>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Ananth N Mavinakayanahalli <ananth@...ux.ibm.com>,
Wang ShaoBo <bobo.shaobowang@...wei.com>,
Cheng Jian <cj.chengjian@...wei.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kprobes: Warn if the kprobe is reregistered
On 2021/02/03 11:59PM, Masami Hiramatsu wrote:
> Warn if the kprobe is reregistered, since there must be
> a software bug (actively used resource must not be re-registered)
> and caller must be fixed.
>
> Signed-off-by: Masami Hiramatsu <mhiramat@...nel.org>
> ---
> kernel/kprobes.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
Suggested-by: Naveen N. Rao <naveen.n.rao@...ux.vnet.ibm.com>
Acked-by: Naveen N. Rao <naveen.n.rao@...ux.vnet.ibm.com>
Thanks,
Naveen
Powered by blists - more mailing lists