From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39A0C2F25 for ; Sat, 14 May 2022 21:42:32 +0000 (UTC) Received: by mail-pl1-f175.google.com with SMTP id j14so11104355plx.3 for ; Sat, 14 May 2022 14:42:32 -0700 (PDT) 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=AFfYNEwGAYrl2b1S77DLqgyE3imbGmmk2zhtDuc4ynI=; b=kl+nhaCiLE0304bc2Ws7byy+Zt93NbD2+JC8TxTzCPciiAnAK0kjyD+9A7Pqt/OSpz cwhEIIPnypOidev2krXJk0uSWujLyzMsR070AKg0DyjxHXCPDqBOwqC8CwPiOrV8gksg php3DyRROqICsm53xVIbeWQxek7z5RoSPRTBg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AFfYNEwGAYrl2b1S77DLqgyE3imbGmmk2zhtDuc4ynI=; b=Xur0ga/DSxG7RM24TPjsvVkJfa9Mk95/i7OoLDnrFhrhdEdiwbNpuxVwovggXmWLbE 7QPhkOjAZpNGLkY9MvXiGoZdxAIjdDzre7l2WYgpfznHqKkEVF9T7pcvDnjDeUh2lTPD qdr6EUovWTyKHaIuKSliQq2kIp8imqiM1s3dw6hfnFgjnESZDM+KQHkEeETdtkZMNHbW l4bHhXXzmuhAwnC9z4K4G9y2uIBpNe0geWXIE3/hqEQ7rY9RMInZzOq6WEYMw8Kg9J3E hcLzXMtFxp79YnVAykJBXUS0HWpBumS+pSf0N0w3591nkUnAUU4ePXilD8o3WaMSEFM/ lhVA== X-Gm-Message-State: AOAM532A5FVPRp2UGBdRB6IEu3rIWtI7ZP5zAZzWi8TtWHL708AvwSXI k3zdGO5vWqn/5KSP3Xeg3sBuxA== X-Google-Smtp-Source: ABdhPJxop1xGmlluyC4skdT7bVdphvZ9BLwlNF0GxA/dVjB1BI12ZPD2SnJuyX+8EvOjL5/QmefH+g== X-Received: by 2002:a17:90b:3b46:b0:1dc:b314:52e6 with SMTP id ot6-20020a17090b3b4600b001dcb31452e6mr11561361pjb.134.1652564551616; Sat, 14 May 2022 14:42:31 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m4-20020a056a00080400b0050dc76281c4sm4094903pfk.158.2022.05.14.14.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:42:31 -0700 (PDT) Date: Sat, 14 May 2022 14:42:30 -0700 From: Kees Cook To: Sami Tolvanen Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Peter Zijlstra , x86@kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Nathan Chancellor , Nick Desaulniers , Joao Moreira , Sedat Dilek , Steven Rostedt , linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [RFC PATCH v2 01/21] efi/libstub: Filter out CC_FLAGS_CFI Message-ID: <202205141441.C3B7CF6@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-2-samitolvanen@google.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220513202159.1550547-2-samitolvanen@google.com> On Fri, May 13, 2022 at 01:21:39PM -0700, Sami Tolvanen wrote: > Explicitly filter out CC_FLAGS_CFI in preparation for the flags being > removed from CC_FLAGS_LTO. > > Signed-off-by: Sami Tolvanen Is it worth merging all the "existing" CC_FLAGS_LTO/CFI splits into a single patch? Either way: Reviewed-by: Kees Cook -- Kees Cook 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FA4AC433EF for ; Sat, 14 May 2022 21:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=C6zyYw2e/TMZJoLFLTFjt8pVj418asFl77DNpcbPVCY=; b=vZQK7lbluU0u52 tHu2/LXHJ+W4sJf1E7tXDslye8KlsWK7VXqsC7KfSPXsA59mOpwxmOikQrQaQKf1/6sTX1Oc5FpOr tBJXho0vpKVQhRJSiVMRYIP/KtCTnk+pHlaj/hNADpTreO7P2H5700LhGExbWTb3bTfjR/LLqyaHy LFCCdIpZkvxE7Dc5xCczO0GKVx4TZMlMT4gouwsYueRnZxTgofhn09auyzUqAADT/pz30Om31keBZ WwbqYYpQ+IoFrU2yBE4bF9jP1H8kNydJRN9o01TEJ5JeZci+CfuDgBsvnb4Ub/7rXyAUcs9+Pn9Ka JC/35DNC2ml7I5Jmh1+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1npzX1-002L3N-M0; Sat, 14 May 2022 21:42:35 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1npzWz-002L2t-85 for linux-arm-kernel@lists.infradead.org; Sat, 14 May 2022 21:42:34 +0000 Received: by mail-pl1-x629.google.com with SMTP id m12so11107434plb.4 for ; Sat, 14 May 2022 14:42:32 -0700 (PDT) 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=AFfYNEwGAYrl2b1S77DLqgyE3imbGmmk2zhtDuc4ynI=; b=kl+nhaCiLE0304bc2Ws7byy+Zt93NbD2+JC8TxTzCPciiAnAK0kjyD+9A7Pqt/OSpz cwhEIIPnypOidev2krXJk0uSWujLyzMsR070AKg0DyjxHXCPDqBOwqC8CwPiOrV8gksg php3DyRROqICsm53xVIbeWQxek7z5RoSPRTBg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AFfYNEwGAYrl2b1S77DLqgyE3imbGmmk2zhtDuc4ynI=; b=ld/F3z05JrpfY31BRg+cjnwUgwoVBQNlHf3PSN5/+uiRFb3EI2DjcnZPI/zO7qs9Yd eCV0At6471+QOWeN5bkNusRV2gZ5mFmMVP4CdfkQb0MoXn8w2/o3GgqdlozbPuT3aWTg knkQ2yMQ6XxD8WiltEM0Sz3+KOmi3wVlrVi1wgz3Le3zPfbm/vRszrJzDgR5bXYilLc8 3FK0Fd4CrNda/1m/tcreXg5mwPYzJ+xpz4qEcA5k6apUT4+19P4h3HSrEd3+0Q/6Bfjx MSn/v1QR7L2obsfySIeKucWxqJaHLl8LhSq7PR56iLT+i8S2R7RwhzfLTeh0zMtrnatn bnxg== X-Gm-Message-State: AOAM533h4s6S7nSaMWImVCg9mq9YeRY7j/MmkIZC8hpRE0Bs/OxAL4cm ZHh3R8HsZrfaMU2plKEF0i1LAA== X-Google-Smtp-Source: ABdhPJxop1xGmlluyC4skdT7bVdphvZ9BLwlNF0GxA/dVjB1BI12ZPD2SnJuyX+8EvOjL5/QmefH+g== X-Received: by 2002:a17:90b:3b46:b0:1dc:b314:52e6 with SMTP id ot6-20020a17090b3b4600b001dcb31452e6mr11561361pjb.134.1652564551616; Sat, 14 May 2022 14:42:31 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m4-20020a056a00080400b0050dc76281c4sm4094903pfk.158.2022.05.14.14.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:42:31 -0700 (PDT) Date: Sat, 14 May 2022 14:42:30 -0700 From: Kees Cook To: Sami Tolvanen Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Peter Zijlstra , x86@kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Nathan Chancellor , Nick Desaulniers , Joao Moreira , Sedat Dilek , Steven Rostedt , linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [RFC PATCH v2 01/21] efi/libstub: Filter out CC_FLAGS_CFI Message-ID: <202205141441.C3B7CF6@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-2-samitolvanen@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220513202159.1550547-2-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220514_144233_355393_7C6AFC5F X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Fri, May 13, 2022 at 01:21:39PM -0700, Sami Tolvanen wrote: > Explicitly filter out CC_FLAGS_CFI in preparation for the flags being > removed from CC_FLAGS_LTO. > > Signed-off-by: Sami Tolvanen Is it worth merging all the "existing" CC_FLAGS_LTO/CFI splits into a single patch? Either way: Reviewed-by: Kees Cook -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel