From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbgFJUEc (ORCPT ); Wed, 10 Jun 2020 16:04:32 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6E72C03E96B for ; Wed, 10 Jun 2020 13:04:32 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id 23so1571183pfw.10 for ; Wed, 10 Jun 2020 13:04:32 -0700 (PDT) Date: Wed, 10 Jun 2020 13:04:29 -0700 From: Kees Cook Subject: Re: [PATCH 3/5] gcc-plugins/stackleak: Add 'verbose' plugin parameter Message-ID: <202006101303.71B51BF1@keescook> References: <20200604134957.505389-1-alex.popov@linux.com> <20200604134957.505389-4-alex.popov@linux.com> <202006091147.193047096C@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Alexander Popov Cc: Emese Revfy , Miguel Ojeda , Masahiro Yamada , Michal Marek , Andrew Morton , Masahiro Yamada , Thiago Jung Bauermann , Luis Chamberlain , Jessica Yu , Sven Schnelle , Iurii Zaikin , Catalin Marinas , Will Deacon , Vincenzo Frascino , Thomas Gleixner , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Mathias Krause , PaX Team , Brad Spengler , Laura Abbott , Florian Weimer , kernel-hardening@lists.openwall.com, linux-kbuild@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gcc@gcc.gnu.org, notify@kernel.org On Wed, Jun 10, 2020 at 06:52:10PM +0300, Alexander Popov wrote: > On 09.06.2020 21:47, Kees Cook wrote: > > On Thu, Jun 04, 2020 at 04:49:55PM +0300, Alexander Popov wrote: > >> Add 'verbose' plugin parameter for stackleak gcc plugin. > >> It can be used for printing additional info about the kernel code > >> instrumentation. > >> > >> For using it add the following to scripts/Makefile.gcc-plugins: > >> gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ > >> += -fplugin-arg-stackleak_plugin-verbose > >> > >> Signed-off-by: Alexander Popov > > > > Acked-by: Kees Cook > > I see that I will change this patch after leaving alloca() support. > I'm going to add debug printing about functions that call alloca(). > I have to omit your 'acked-by' for the changed patch, right? If it changes dramatically, drop my Ack, yes. But since it's going via my tree, my Ack is mostly just a quick email marker to say "yes, looks good". :) -- Kees Cook