Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1745253pxb; Wed, 20 Oct 2021 10:53:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySgmRxsu+1AMByb7I7uYNk3VYn7tUZNGuDe3VSJ97ishsukAYqwbjFsDELQ9i5lLaKda8p X-Received: by 2002:a05:6402:358d:: with SMTP id y13mr491939edc.343.1634752385372; Wed, 20 Oct 2021 10:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634752385; cv=none; d=google.com; s=arc-20160816; b=djM2vNXeVPhgLzBE3DIRnTmZ0yBe2pOvGAGwOaES7YuTLmKLYxBMxuzip1aCaBlgC1 3B9AYw4G2DtPRjoILC4/9Yms9GHPK05zwGlBr/FrHqwOeA1nleNddRPtRLS6oJa6jfnL WHbWI/CfduAZLcDQucBL6Ytctpajf7pfNYZ+cBS5ab7U2rD/QUdRmBcihfwgSKy3v73O upag9hDPBh72K5emZKWZ5+OoA4z8pv6jKrxoUxRkfu5qAkl9MQurA+uil0vgDLkHAaSz LfzPWcONP3X+uCU8hdfrznUD+LF6Yt/ctAZaLm7Gju8/tmXQspL2BjsVWPhPQSQtqiUZ NrUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IFvyJDv7zWHNgpVy4rL7we9/QbUTjFwP2DzX3TA0tiQ=; b=zQ8aqq8UwYCcUoUs/ak1Q5yRN2UX2xva5pXlY5bZJ3xpnnji6lpTYTArrxRPtFYoVV 0pBF00ONhwOibLt2+neV2dd3B4EzCtFJXMn3CPjqBiAkTpTHUI23+XRILPNCH6s9Ueu4 vV8ZhK1q407VM7K87515IwpTopxgvbhBgcImrzOaHgvih7QwMYtksgAkQ0SzxziMDx+l lA7mzT2L8TaBouXkbQ8TQL762nf8lissID31DaQ4GtAVoirt/wE6Vaw/7HTj8IleHdLk ZyV8JviI/SNscmmDBNXw/39zdyaSmwr6wZgiuMYX8MizymZNQFg872bRvzEwtEnD8TKh 1uvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=DxXrG20A; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mp18si5171484ejc.505.2021.10.20.10.52.37; Wed, 20 Oct 2021 10:53:05 -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=@google.com header.s=20210112 header.b=DxXrG20A; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231205AbhJTRw6 (ORCPT + 99 others); Wed, 20 Oct 2021 13:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230351AbhJTRw5 (ORCPT ); Wed, 20 Oct 2021 13:52:57 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB83C061749 for ; Wed, 20 Oct 2021 10:50:42 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id i24so195007lfj.13 for ; Wed, 20 Oct 2021 10:50:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IFvyJDv7zWHNgpVy4rL7we9/QbUTjFwP2DzX3TA0tiQ=; b=DxXrG20AfYyTWbuMUYzNfwR4ma6dWiFGO0KjGKjLqVUYkWc3DGlA7gExcJhltON98Q iCOl7ShLDxT6gW3S/iaxj1F4KrUBb9e17xdURrxubqYpnaDf5fqI+klbo/6SpeMVbaxj bVO5N1ypo4BJgVzIhZmV7S+lvG+ppRftQ74TP0w7xkCYNdCPabymX9EBoVJgU+AiJdnX 73rfLrfIuuMZZa7dbpcIoqZmbjgOPkSZh/tq0Pqn9LQQD0c50F18mXQtmzKwXTaIrbI4 VLerFWmUTLJfn1+7KKosGH7U2IvcsnC2m3gcHYqoEbu8bW+mpmpUd0FUhndHkvD2mYx+ E4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IFvyJDv7zWHNgpVy4rL7we9/QbUTjFwP2DzX3TA0tiQ=; b=xxxRIOUxttOQz3Z7fdAIyttF0KwYlYpMfh0JbWeCK868WDRsMxn5wxM0MsVGotVMWA 0eIRfS2HfYfckTYzJvVvstca8QsXfJqZsH1Tf5HfizOVByYdbdK5AHDmPb1MgIp3JR8N LVygiZyyZK2IXL6BowHS3bAL/zR1BhZzUtESZHvddu/0mllqG1CfptC8O6fxfzHCdo2u rBGZ6ShuDESaDyu5EMATbhRfTrmMPrbQB/PXaVybvUGeqGhIErkrJQPGK+LaNgkLvcMq rNw1KYD3KyEkTS/+LsHwHqjS+o1+El/rW4hEesXvgiC0I0PyDao+NEL2XwuyzxU0hR+t GtGA== X-Gm-Message-State: AOAM5304/ExBl7wQkuoirt3QAtPiTD2ajivLEgcft54q+0tm3IJghFwr JPlDmWs1VtEvY0C4CRfKNqb2ViOa2VUn5Vr0p1FIfg== X-Received: by 2002:a05:6512:2284:: with SMTP id f4mr643276lfu.489.1634752240690; Wed, 20 Oct 2021 10:50:40 -0700 (PDT) MIME-Version: 1.0 References: <20211020173554.38122-1-keescook@chromium.org> In-Reply-To: <20211020173554.38122-1-keescook@chromium.org> From: Nick Desaulniers Date: Wed, 20 Oct 2021 10:50:29 -0700 Message-ID: Subject: Re: [PATCH 0/2] gcc-plugins: Explicitly document purpose and deprecation schedule To: Kees Cook Cc: Dan Li , ardb@kernel.org, ojeda@kernel.org, Masahiro Yamada , Michal Marek , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 20, 2021 at 10:35 AM Kees Cook wrote: > > 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. :) Acked-by: Nick Desaulniers > > 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 > -- Thanks, ~Nick Desaulniers