From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (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 E61892C80 for ; Thu, 21 Oct 2021 10:28:21 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7EA6961186 for ; Thu, 21 Oct 2021 10:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634812101; bh=XZqwcRi8eGbcHfTa8FsBo0CyV+VMmanZEXSL34v2xNA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LSIZboXeBiM2XeY8Wt+EdS5vzOT0y1ZBbT9bRqQsj3JP7BP/yWGDJFdQJDSckB09B 7uqGgy/9ZJHs5HkWP1mzK+b4YDPzJqFGxOwtsNXcSuJd++RJzuPnbSBghUV5uvPrQr 48FXQ0hb3XPEUFdAkHZ8go/OfpfNzL7Oi+qwtMWOwsIoe54SPCBCf3WNrap+GInr0V yGABj0eWy+Oy4uHPhX+84IqzwjRnnFriSooLwDn9DdP3ldmXSfRxTG8Sqpob+snAai xloBuBSX8vt6kna/4iXumpsepFj39VfqjUz5ICYwwc7ll2r4XouRi6EbQQOqDpLgmh FssfdAsIY4+8g== Received: by mail-oi1-f169.google.com with SMTP id o204so238007oih.13 for ; Thu, 21 Oct 2021 03:28:21 -0700 (PDT) X-Gm-Message-State: AOAM5318EvHlrdtJ67ypqnKcjTTiLqRT7MZsUfyMwpnyC2zrAOzGUkA5 qb1w4a8ywTtRZO/u2eB+2v4PhzL2UFmQfeML3cI= X-Google-Smtp-Source: ABdhPJwJS57ISbZcVKqBAD81WN0NdiqSiFCaDg4V8so9PFGuh1YHfNT+etwlr7CUC37Bkxt5mEwG0tXwsqwrLAT+eTk= X-Received: by 2002:aca:4bc4:: with SMTP id y187mr3602617oia.174.1634812100804; Thu, 21 Oct 2021 03:28:20 -0700 (PDT) Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20211020173554.38122-1-keescook@chromium.org> In-Reply-To: <20211020173554.38122-1-keescook@chromium.org> From: Ard Biesheuvel Date: Thu, 21 Oct 2021 12:28:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] gcc-plugins: Explicitly document purpose and deprecation schedule To: Kees Cook Cc: Dan Li , Miguel Ojeda , Masahiro Yamada , Michal Marek , Nick Desaulniers , Jonathan Corbet , James Morris , "Serge E. Hallyn" , Nathan Chancellor , Linux Kernel Mailing List , linux-hardening@vger.kernel.org, Linux Kbuild mailing list , Linux Doc Mailing List , linux-security-module@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" On Wed, 20 Oct 2021 at 19:35, 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. :) > > Thanks! > > -Kees > > > Kees Cook (2): > gcc-plugins: Explicitly document purpose and deprecation schedule > gcc-plugins: Remove cyc_complexity > Acked-by: Ard Biesheuvel > 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 >