Message ID | 20240125-bump-min-llvm-ver-to-13-0-1-v1-9-f5ff9bda41c5@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-39389-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:e09d:b0:103:945f:af90 with SMTP id gm29csp312855dyb; Thu, 25 Jan 2024 14:59:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGk4d6DEiTulQkC+A2TdVrtbVxUQivR1qLtyglwPnfZWQnHHkcY5dnz6hb0VLAFTwOHt7/3 X-Received: by 2002:ad4:5caa:0:b0:686:adf9:818e with SMTP id q10-20020ad45caa000000b00686adf9818emr398971qvh.44.1706223546979; Thu, 25 Jan 2024 14:59:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706223546; cv=pass; d=google.com; s=arc-20160816; b=yP0VMNFnVAYAlVrP2sw7Gu+msrsXSVQiosfcdWxpfRCRauiG28OMKKuZDCKOJnDzrU k+RHsoA343OLA8Uz4LBUAHA6SsxRackPgvmvW4G5ThILLbbrZSH3Xubgs/GoeTE9VRom PbzDrXGzMwtfEeh1wkzrcpE1ZilrQMyDiD5NRT0dg5xzSrkbyftnEgN7kMl2EwdfBwZR kLGCKVKAj/8gEdxTmxzIA3JOM8HP86eoCM+byQcFr816/hFxKXvnO5a4CRmL1vBBIWum hd7Oz6a0ak+7X+0l3DS75OM3m0ukTcoEFbWpnxlUOkwVIB/8GKVyz7HtIEyy6q5cUu2M hKgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=trWHI7jfxzXIzfk5v0VU9opr17QizjaJI1ziYCLxNRA=; fh=HMRygTj2QuzKboRqUYfPLRU+edj+mHRNElicxkRQrd8=; b=M9FVOG0X9Bd9uTbS541fVXiiDccyk1Ga+DlIIvcxxgVLUN8tj+3DCUWUGQ1dCjBmyy qniqQW7DSVsT3yu1+GcKKc9Z4WdQ72QGjIN3NdSa/ty630RF3/Q7wKtUl4M/twRY8IoF 6C8IRpmWFrFQSOU2mekA8jdXZFitQiDCq/6S6jxk6ayLuctX9hymggoA3FG9RxqOo9n6 sQxcwkQvwzioWU+r1xTD8Jz4ywT+TcZ/Z7P2ZLDE+7xES6f17CBVi5cv5WUvnmHYx+3F KYqgRdtHRiUlZfvj5XGjDCUL2PGw6uzySh4RzyEY9jDnSU6dM8VJB3UagfxJTYv+8RmS Ldgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vm9XhisI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39389-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39389-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t25-20020a0cb719000000b00681998b7af3si13327618qvd.413.2024.01.25.14.59.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 14:59:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39389-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vm9XhisI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39389-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39389-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BC8AA1C2304D for <ouuuleilei@gmail.com>; Thu, 25 Jan 2024 22:59:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0506613B793; Thu, 25 Jan 2024 22:56:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vm9XhisI" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 168F51B81E; Thu, 25 Jan 2024 22:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706223368; cv=none; b=skBISUudfRQXoftObNAqEfF4MQijM1APV6dykFOPU+RAoX49wlGnO7tWOTznNQY6RGMZSXxBOqs+zA21GGhYwmPWva+2DOpr9uWwgjoIHFG9Z0Al6ty+3xmN61lUZQbN3XN/zumWMuCkVu08FTSpVncuYBFhuC/IMU9fuqFAEfA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706223368; c=relaxed/simple; bh=bT1Kw/x60kOitlZMWNafPmdLsoWMItemWBhie7YD9XI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VG4nyuMnox7IpZvoXmLJaGLAzrctrpDwrcDPfJ7zIn4xQEz7rRkHmMZM37xk355PhGrHsTf6d4rMPN9fW8i/7jleHIBGtUSvWiFHGvit071WEo8R02+4NRumVfU2k0kxJwDilzPXE6sfib1O7j4LsN3ixwb5Zx6/baXwPBgyk3E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Vm9XhisI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10818C43399; Thu, 25 Jan 2024 22:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706223367; bh=bT1Kw/x60kOitlZMWNafPmdLsoWMItemWBhie7YD9XI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Vm9XhisI0+r01AtDM7hT6Qlf+/72BmdUJfjk7HzpkQqfo+6q6UAUrGk2wEX1mnGq+ AifZ6OrufCEJmyH1mVG6+NuPL+yN3bn3pNYRWmm8HAhlgkL+tqL4ceufEZOm0OyrY3 lnjhEEfCUYl8RoJ7UVoOpMW/JsNby6WAAkC/64kRL1Nm9m0i8OwKZZRTc2YSfuLayd /96/mE/alkmHGuux4DqHH5rS50bMzj0+9DgRxAyGRdoS2KSFIXPoG5WtIMUiZAX8oX he7GgenQWajMSh+FbcMbNwL86iz3lHCcMyusNj2PoNlqRUtNbVx0uyzr9EsrMjneUW +VPWnodIzPPoQ== From: Nathan Chancellor <nathan@kernel.org> Date: Thu, 25 Jan 2024 15:55:15 -0700 Subject: [PATCH 09/11] fortify: Drop Clang version check for 12.0.1 or newer Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240125-bump-min-llvm-ver-to-13-0-1-v1-9-f5ff9bda41c5@kernel.org> References: <20240125-bump-min-llvm-ver-to-13-0-1-v1-0-f5ff9bda41c5@kernel.org> In-Reply-To: <20240125-bump-min-llvm-ver-to-13-0-1-v1-0-f5ff9bda41c5@kernel.org> To: akpm@linux-foundation.org, masahiroy@kernel.org Cc: nicolas@fjasle.eu, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev, linux-kernel@vger.kernel.org, Nathan Chancellor <nathan@kernel.org>, keescook@chromium.org, linux-hardening@vger.kernel.org X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=928; i=nathan@kernel.org; h=from:subject:message-id; bh=bT1Kw/x60kOitlZMWNafPmdLsoWMItemWBhie7YD9XI=; b=owGbwMvMwCUmm602sfCA1DTG02pJDKmbnv27eWPvnV7twFfRCac5NVSbV+yKyDO4WymklMN+1 NaUwdC5o5SFQYyLQVZMkaX6sepxQ8M5ZxlvnJoEM4eVCWQIAxenAEyEayMjw9ZnpT/ionb+e3hY VUjldLWuGJNh5JL9089X7Dgxr8uJ9SYjQ9eP2Tqnnmccu3yrMU3w9v+eWaoWztvr+MJVb3woyVr xgQEA X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789105062358979244 X-GMAIL-MSGID: 1789105062358979244 |
Series |
Bump the minimum supported version of LLVM to 13.0.1
|
|
Commit Message
Nathan Chancellor
Jan. 25, 2024, 10:55 p.m. UTC
Now that the minimum supported version of LLVM for building the kernel
has been bumped to 13.0.1, this condition is always true, as the build
will fail during the configuration stage for older LLVM versions. Remove
it.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
---
Cc: keescook@chromium.org
Cc: linux-hardening@vger.kernel.org
---
security/Kconfig | 2 --
1 file changed, 2 deletions(-)
Comments
On Thu, Jan 25, 2024 at 03:55:15PM -0700, Nathan Chancellor wrote: > Now that the minimum supported version of LLVM for building the kernel > has been bumped to 13.0.1, this condition is always true, as the build > will fail during the configuration stage for older LLVM versions. Remove > it. > > Signed-off-by: Nathan Chancellor <nathan@kernel.org> Acked-by: Kees Cook <keescook@chromium.org>
diff --git a/security/Kconfig b/security/Kconfig index 606a87c29a01..412e76f1575d 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -142,8 +142,6 @@ config HARDENED_USERCOPY config FORTIFY_SOURCE bool "Harden common str/mem functions against buffer overflows" depends on ARCH_HAS_FORTIFY_SOURCE - # https://llvm.org/pr41459 - depends on !CC_IS_CLANG || CLANG_VERSION >= 120001 # https://github.com/llvm/llvm-project/issues/53645 depends on !CC_IS_CLANG || !X86_32 help