[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091214123955.GK5168@nowhere>
Date: Mon, 14 Dec 2009 13:39:56 +0100
From: Frederic Weisbecker <fweisbec@...il.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: Steven Rostedt <rostedt@...dmis.org>, Ingo Molnar <mingo@...e.hu>,
Wenji Huang <wenji.huang@...cle.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/7] tracing: Fix bugs in string filters.
On Mon, Dec 14, 2009 at 11:57:11AM +0800, Li Zefan wrote:
> This patchset fixes some bugs in string filters.
>
> A new string helper strnstr() is introduced, to be used in
> middle matching callback.
>
> Also I add some comments to mainly explain why we should use
> length-limited version of strstr() and strcmp().
>
> ---
> include/linux/string.h | 5 ++++-
> kernel/trace/ftrace.c | 6 +++---
> kernel/trace/trace_events_filter.c | 29 ++++++++++++++++++++---------
> lib/string.c | 27 ++++++++++++++++++++++++++-
> 4 files changed, 53 insertions(+), 14 deletions(-)
Looks pretty good.
Acked-by: Frederic Weisbecker <fweisbec@...il.com>
Thanks!
--
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