Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1732235pxb; Wed, 20 Oct 2021 10:37:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGnV00ezbAZg9uxP6bpYj1Q+alOQK2MlNG4WKV4+wUtWV69B1L8o1buern9hxYcj+dswhQ X-Received: by 2002:a17:902:c401:b0:13e:f5f2:f852 with SMTP id k1-20020a170902c40100b0013ef5f2f852mr403616plk.29.1634751435883; Wed, 20 Oct 2021 10:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634751435; cv=none; d=google.com; s=arc-20160816; b=hzlF1kMC+oGB6Igh1bycdd5Pkoa6p0Qo3c6Mb0rWWY9C4S6pWZFWiRpafPgE68KMQ1 4Wju6V+/Ee1bn94Ns2IqnJ3xZ9ay6D2zGWXCnC8i7okbiUu8mMNWT4Bzc2IAPWDtOlIM qVpqSgocYmsUSABwZFZbMwqHvHSvkQ9hRnGjv9/h6OPPFpxX5vyE1bJ0KLEQTW7qyJSl Wm1PSSpCRCzwT1TRbHFoV2YIzATkeQUaNdIdR+hYLd8+9AS0T/sskXFPZhO+MMjTXiUu GJV6X82imJKfaNXXoHpreSe6/ttJOQwUqSKRKSLSDUAhviBc24fMctKFq5wG9tcwPsNs 9JtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZU0CzHjZqgy6QBSitXFMa80Tv4uRu9MQakGYwJwWt/U=; b=oU8M4tNabA/HrX7ctaSQTw9YUtsTaH9zInQCQoduFGhZjydVbVVNFkcU0+Y3b0F4O9 Acv35HnsjujXQP71G5e9K4n5eQOUXQIhi4IndFJ0hldVRNQFNAGevJbGQ29TM8f5NzLS /GcQS4f8QOFLItF41qsJ799IySsc1+VDkEiiklwhSBEI37Ub50av8vG2ZaIN8IZca50c Od9JerYGihDA8KNZbOrEAjuz+kmTXwFYayLrwlqwydtfUMYlYhBRDt9I5N34+aw7pK5T KJ+OmdhU0m9fn6VseMqHZYPoYRTe18Qgpp2zgDmM1Zt/mZzJ1DLZBZPCvrkjj6Ra+byb /6tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="c6/cMfcg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si3534022ple.448.2021.10.20.10.37.01; Wed, 20 Oct 2021 10:37:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="c6/cMfcg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230483AbhJTRiR (ORCPT + 99 others); Wed, 20 Oct 2021 13:38:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbhJTRiL (ORCPT ); Wed, 20 Oct 2021 13:38:11 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F81EC06176C for ; Wed, 20 Oct 2021 10:35:57 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id e10so11753006plh.8 for ; Wed, 20 Oct 2021 10:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZU0CzHjZqgy6QBSitXFMa80Tv4uRu9MQakGYwJwWt/U=; b=c6/cMfcgmDu7wrlCQvkpDnTEMcB3eyHmy62eHknNhqrmqzlwOZwdWcXSX9tRwwE3op fP2y06G96MaP2Ka2jb/Rn6u9NmzO7uLEN6qF27gCbesZmxDI2NHrgFQBks3jAUr/nZAu JK4SGunKgL1rU6EcSiEGGAJZlSsVfQLBQ/tWM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZU0CzHjZqgy6QBSitXFMa80Tv4uRu9MQakGYwJwWt/U=; b=EqSyO/WlBYXR+AJhoYTlKjQPgcXbVvAWd5sksmRT1VwHzc1k1UwbstrFJ3cS1OYN+w yWAX5Y61exKv5m9Kz0ROBvezVQjF44YXfaehR2P4i4+vz10l9OpzaMLmK2u4ao1untfe E+FU8TuDuzssYim3D5fL9U496Otr5ECmrQP6rZW6k+FYmK70hmErajmBAzHqRg8/s2KN Fzx8hjewOKkceh3E/0c+cErmqiUG+uf/IcM/r9Womz5DhVzuy9P1NWcJwJgtkethkq4V WDRc8koCDAC8/lHAhnxjk7DK0mKoGRlI7IR6sluWEGgp1FFxB2+qU4Ui8EA3kV8qFzmh Nw6Q== X-Gm-Message-State: AOAM532+DhwTNAYn3uHuJryRl48O3eKQqAE1lPv8GGwfNXVmiu+0YREJ VOCXNex8zbcHO3SeRJcJ/mf49g== X-Received: by 2002:a17:90b:193:: with SMTP id t19mr379663pjs.95.1634751356548; Wed, 20 Oct 2021 10:35:56 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id np17sm7409475pjb.7.2021.10.20.10.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 10:35:56 -0700 (PDT) From: Kees Cook To: Kees Cook Cc: Dan Li , ardb@kernel.org, ojeda@kernel.org, Masahiro Yamada , Michal Marek , Nick Desaulniers , Jonathan Corbet , James Morris , "Serge E. Hallyn" , Nathan Chancellor , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-security-module@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH 0/2] gcc-plugins: Explicitly document purpose and deprecation schedule Date: Wed, 20 Oct 2021 10:35:52 -0700 Message-Id: <20211020173554.38122-1-keescook@chromium.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=888; h=from:subject; bh=rdx4CuMikFQKdDYacNmYRAtQ562gbZptpLcWVVcwDAE=; b=owEBbQKS/ZANAwAKAYly9N/cbcAmAcsmYgBhcFN5/5kSB2NJMC2aEHhmi3yPJdBz+zDw+3m8KEeg m983EFKJAjMEAAEKAB0WIQSlw/aPIp3WD3I+bhOJcvTf3G3AJgUCYXBTeQAKCRCJcvTf3G3AJqwKD/ 9khEyOKqNaPmZpfVsYUuLt2y7ALxocah3HA2haUyFnlB81apI0SsajBZi6tgC082BM5qHGYqI8afAm Bg81+ba4xE49vEKcGRspCo6Ij9jeh3qQ6FcVd7dntdxA7LL0ekxsNoUAlA35Z3+OxIMf7TdJpJABf3 vFXZT7+1t+dLVniAlFofflTQm/XHHrtCQNR5fPXf2SODdkIf/x96d7bpN8i41dEskVhxkr5Kdv1qyZ tvn13GszbxhF2LXKCaMrFOR26zL+U10R3KIM/jJ6BeWrEXL9pnmJKwFubiRrM8KtcUZaE8w3er6AMe +Nh8V6KZYhrG1oDWiInARmtvNqXaxeegCVWj8OmwNgqAONjNd6W1hsb+8NFdpbA2zYplorO411l8rI 7HWi0FOrNKWCM1n3Y+JlXltxyhouc1ylTtAo0gWndrpaUnpBrkCato8gNL+9AQ602oIJGLhxLTfJwc tIq41BEDdUjXHnUp8r4mAl4H+GaEA5ob/aoZ0Eina3L58wnCbb4yKe8OmaF0y1qXxrxXUXKM89Hc6G cewD2LImYRLJ/oCcFEBnIRCu1GFnbcdlq5RY9gnCNfIQNQeutoZkLO7iYI2cB5sh/cBkGi99+RaxQ4 y76eOiibdFC6dmg0NuvgbQ1lLPH/6o/hseGJ49cqX6tC25gQpPQJawR5i2fA== X-Developer-Key: i=keescook@chromium.org; a=openpgp; fpr=A5C3F68F229DD60F723E6E138972F4DFDC6DC026 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, GCC plugins should only exist when some compiler feature needs to be proven but does not exist in either GCC nor Clang. For example, if a desired feature is already in Clang, it should be added to GCC upstream. Document this explicitly. I'll put this in -next unless there are objections. :) Thanks! -Kees Kees Cook (2): gcc-plugins: Explicitly document purpose and deprecation schedule gcc-plugins: Remove cyc_complexity Documentation/kbuild/gcc-plugins.rst | 28 ++++++++- scripts/Makefile.gcc-plugins | 2 - scripts/gcc-plugins/Kconfig | 20 +----- scripts/gcc-plugins/cyc_complexity_plugin.c | 69 --------------------- security/Kconfig.hardening | 9 ++- 5 files changed, 34 insertions(+), 94 deletions(-) delete mode 100644 scripts/gcc-plugins/cyc_complexity_plugin.c -- 2.30.2