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=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 CA963C433E1 for ; Wed, 24 Jun 2020 13:56:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D91D20724 for ; Wed, 24 Jun 2020 13:56:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="m4+XfZ46"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="qTWXXWzz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D91D20724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=74JbAz2Sxm3ZdD9wj7Sjot+vOiap/wOHswKkb/6knUs=; b=m4+XfZ46rVBgppIDnMJfOhDoN W+6w7ADZY/yUu8EpXJ05o0ff3mZKEqz2ERt0lldrrneUpQYo2Vuo7JJGeKTQQZTw0JTHL9O5WKHFL 2MJfZtLOjBMxmpIolnoKPD3nDdmxIOZwSxw/bwJF/0TroXSkza6Nz2db/GY07pWhh1tfRoCW686Zz C+78Pn7P7zpa/o9yYPqw4mE0gMfT9YqjNTE6lmy+fWKldED2EPwEYwrH/llM9cyDLluWtRZDstysd G7tb7Az4TnyqcqbPIz5K9jfgzMml+7lTVnCk5e/gBPCPuY4M9Et5wqPLHVmwKS3X/biJdlpV/qV4K xhNPAf1fw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo5ro-0001uJ-NM; Wed, 24 Jun 2020 13:55:08 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jo5rl-0001sE-UA for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2020 13:55:07 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1CD7320724; Wed, 24 Jun 2020 13:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593006905; bh=/1svtZ7NFc/8pJ2Kp6i4gm4ajra1i4VBRLm1WItsEMU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qTWXXWzzkiccoVFz/2cLbK9y/b4meGyKs970QbtqAoJKFfrYOE8wJQNan/2zkjIbG M9gInwgc0i5vdEgc9IJfSprW2ZMaMPfd25JecqOiJlhvlLKNXm9xCTx1tcU3dr6wx2 XnwsVCEoVoSbiftJU5wdTX+rn7DxiauXaityvSg4= From: Will Deacon To: Iurii Zaikin , PaX Team , Mathias Krause , x86@kernel.org, Sven Schnelle , Masahiro Yamada , Florian Weimer , Luis Chamberlain , linux-kernel@vger.kernel.org, Michal Marek , Catalin Marinas , Emese Revfy , kernel-hardening@lists.openwall.com, Laura Abbott , Brad Spengler , Thomas Gleixner , Jessica Yu , Miguel Ojeda , Kees Cook , linux-kbuild@vger.kernel.org, Andrew Morton , Vincenzo Frascino , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Thiago Jung Bauermann , Masahiro Yamada , Alexander Popov , gcc@gcc.gnu.org, Jann Horn , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/5] Improvements of the stackleak gcc plugin Date: Wed, 24 Jun 2020 14:54:49 +0100 Message-Id: <159300400829.52405.11593787740425104484.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200624123330.83226-1-alex.popov@linux.com> References: <20200624123330.83226-1-alex.popov@linux.com> MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Will Deacon , kernel-team@android.com, notify@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 24 Jun 2020 15:33:25 +0300, Alexander Popov wrote: > This is the v2 of the patch series with various improvements of the > stackleak gcc plugin. > > The first three patches disable unneeded gcc plugin instrumentation for > some files. > > The fourth patch is the main improvement. It eliminates an unwanted > side-effect of kernel code instrumentation performed by stackleak gcc > plugin. This patch is a deep reengineering of the idea described on > grsecurity blog: > https://grsecurity.net/resolving_an_unfortunate_stackleak_interaction > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: vdso: Don't use gcc plugins for building vgettimeofday.c https://git.kernel.org/arm64/c/e56404e8e475 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel