From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51D77C433DF for ; Tue, 9 Jun 2020 18:48:28 +0000 (UTC) Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.kernel.org (Postfix) with SMTP id A7FA220734 for ; Tue, 9 Jun 2020 18:48:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="doetDBC8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A7FA220734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernel-hardening-return-18942-kernel-hardening=archiver.kernel.org@lists.openwall.com Received: (qmail 18302 invoked by uid 550); 9 Jun 2020 18:48:22 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Received: (qmail 18279 invoked from network); 9 Jun 2020 18:48:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=j2PL+pbfi1kh+J0AmLH2dyW1hfo8dchWmGFi/N5y4y0=; b=doetDBC8GLhAH/GPYh2nF/OZwCESJtT3x/5JwmFQppNQJr5rFhUwRcyR9FtefDzGs1 RdTitQklosNO5HKOvlQUQJc+B3qoYVCfPRU7nKjg3lVc0+kFRfhloN8Q1BIilhESUAsl UifY/flT3XKb72YemuUE0ejI83VnmR69D+rOc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=j2PL+pbfi1kh+J0AmLH2dyW1hfo8dchWmGFi/N5y4y0=; b=iFMBN54sA2/3nM2NG0hNvrCscBEriTG27M6vbAHr88RBQRxRPBK152DJyxCSgQlkvx 0g3XMWfkQ0MRnYjCw4g1zqlHPHqgEdzTzPjgVNDbjkRJrdQjgJtK0ivrCRSKFLFcFeqU lMMEaVVGNtYbKSSDGcAOL6sE/mLmde/M96zn2zceChM1BM6OE1S3fJBZoqryjz/81XqG JzWE10qEc4/7HsXbyPS3nJ8iIuu5cKEUDr+VoEbgOt+SqGROZMMwePNjk2Xh7GHd8RFC hyiGwKu20bQUKgrPUsSufiOwgSRck2DA/PZfAIK79SKuS313NiEx85EgK51xF4pegHrm dYUA== X-Gm-Message-State: AOAM5309MlnFTIkBXKIn2meoP7bE+KxmFu9sgC9VV+4TWRKEXaLCWv9U KD7WwgxNpSUVMYxlpE933YT7GQ== X-Google-Smtp-Source: ABdhPJyddt1fAWGutCRi8Fa6NrDKr2oQjU7wdUGjNSxmmyNx0/oNHsTyK+GsePEnmx8lD9WMuMMOGA== X-Received: by 2002:a17:90a:2647:: with SMTP id l65mr6474171pje.20.1591728489562; Tue, 09 Jun 2020 11:48:09 -0700 (PDT) Date: Tue, 9 Jun 2020 11:48:07 -0700 From: Kees Cook 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 Subject: Re: [PATCH 4/5] gcc-plugins/stackleak: Don't instrument itself Message-ID: <202006091147.1B8E3ABE@keescook> References: <20200604134957.505389-1-alex.popov@linux.com> <20200604134957.505389-5-alex.popov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604134957.505389-5-alex.popov@linux.com> On Thu, Jun 04, 2020 at 04:49:56PM +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 -- Kees Cook