From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389400AbgFXOwJ (ORCPT ); Wed, 24 Jun 2020 10:52:09 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88750C0613ED for ; Wed, 24 Jun 2020 07:52:08 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id e18so1529676pgn.7 for ; Wed, 24 Jun 2020 07:52:08 -0700 (PDT) Date: Wed, 24 Jun 2020 07:52:06 -0700 From: Kees Cook Subject: Re: [PATCH v2 1/5] gcc-plugins/stackleak: Don't instrument itself Message-ID: <202006240751.30293A1@keescook> References: <20200624123330.83226-1-alex.popov@linux.com> <20200624123330.83226-2-alex.popov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624123330.83226-2-alex.popov@linux.com> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Alexander Popov Cc: Jann Horn , 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 24, 2020 at 03:33:26PM +0300, Alexander Popov wrote: > There is no need to try instrumenting functions in kernel/stackleak.c. > Otherwise that can cause issues if the cleanup pass of stackleak gcc plugin > is disabled. > > Signed-off-by: Alexander Popov > Acked-by: Kees Cook Thanks! Applied to for-next/gcc-plugins. -- Kees Cook