Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757415AbcJQGoM (ORCPT ); Mon, 17 Oct 2016 02:44:12 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33632 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755814AbcJQGoC (ORCPT ); Mon, 17 Oct 2016 02:44:02 -0400 Date: Mon, 17 Oct 2016 14:53:05 +0900 From: Masami Hiramatsu To: Vegard Nossum Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Linus Torvalds , "Luis R . Rodriguez" , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S. Miller" , Masami Hiramatsu Subject: Re: [PATCH 05/12] kprobes: declare __{start,stop}_kprobe_blacklist as external array Message-Id: <20161017145305.e31ec8b9967aafba1a76268d@gmail.com> In-Reply-To: <20161016151616.31451-6-vegard.nossum@oracle.com> References: <20161016151616.31451-1-vegard.nossum@oracle.com> <20161016151616.31451-6-vegard.nossum@oracle.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1800 Lines: 57 Could you please add the patch description for the patch? And send me the whole series of the patches. Thanks, On Sun, 16 Oct 2016 17:16:09 +0200 Vegard Nossum wrote: > Cc: Ananth N Mavinakayanahalli > Cc: Anil S Keshavamurthy > Cc: "David S. Miller" > Cc: Masami Hiramatsu > Signed-off-by: Vegard Nossum > --- > kernel/kprobes.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/kernel/kprobes.c b/kernel/kprobes.c > index d630954..f163f74 100644 > --- a/kernel/kprobes.c > +++ b/kernel/kprobes.c > @@ -31,6 +31,7 @@ > * and Prasanna S Panchamukhi > * added function-return probes. > */ > +#include > #include > #include > #include > @@ -2126,8 +2127,7 @@ static struct notifier_block kprobe_module_nb = { > }; > > /* Markers of _kprobe_blacklist section */ > -extern unsigned long __start_kprobe_blacklist[]; > -extern unsigned long __stop_kprobe_blacklist[]; > +DECLARE_EXTARRAY(unsigned long, kprobe_blacklist); > > static int __init init_kprobes(void) > { > @@ -2141,8 +2141,8 @@ static int __init init_kprobes(void) > raw_spin_lock_init(&(kretprobe_table_locks[i].lock)); > } > > - err = populate_kprobe_blacklist(__start_kprobe_blacklist, > - __stop_kprobe_blacklist); > + err = populate_kprobe_blacklist(ext_start(kprobe_blacklist), > + ext_end(kprobe_blacklist)); > if (err) { > pr_err("kprobes: failed to populate blacklist: %d\n", err); > pr_err("Please take care of using kprobes.\n"); > -- > 2.10.0.479.g221bd91 > -- Masami Hiramatsu