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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F3DEC433EF for ; Wed, 20 Oct 2021 19:12:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 339D861212 for ; Wed, 20 Oct 2021 19:12:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231474AbhJTTPD (ORCPT ); Wed, 20 Oct 2021 15:15:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231380AbhJTTPC (ORCPT ); Wed, 20 Oct 2021 15:15:02 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CCA3C06174E for ; Wed, 20 Oct 2021 12:12:48 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id j190so16637671pgd.0 for ; Wed, 20 Oct 2021 12:12:48 -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=CFUDLBWdmnPV44bi7dVx5A56FXXnHIGNsm6BfJl0RsI=; b=JtQFBqmyuqUGLOJirZEnfOGRzSjyJfk76syhW8olBgTsaSJ1WrRnDKlU8xrvFkJEbB YZO0dY/VKA9+YDBXn7kwblGNLtajGRhaUcQJVIjGCA+DbxnLTaesnzOROD4lAa6oBXO3 ABy/6N42oUMuboWXbEo0EIYQPT+5a/NVcybC4= 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=CFUDLBWdmnPV44bi7dVx5A56FXXnHIGNsm6BfJl0RsI=; b=Q0H1sZLdNex2WrFQvNdUeO2zqtAEuscF07O9UOZ+Hd64pMGTsuUFEKpytoUf0B2Lqi RyCmIKl9J+8CQoVcRxj1WtHY0DMKPtGEXKL7fEEDsoL6+W8+udxY5hxsBPTz3OpTByJn OtxzM3jtavg/9PXdJQhZM5fcmJlX6EVD9s150J0/edDuZW/DhUKgI7qucxyFq5YYa9Ca InF8fqLmX9/cluQvVoEoiiFsUaVsdXsJ8dthbfAoejx95RJ7dbohWFsaqz8Z0GMydjst PAnwdbf0qFYwzQeCJHhX0J4rT9ZQba6hTW4ElR5PdYOtaarsx2J9Aa4t+OFTymfWxgDR ttGg== X-Gm-Message-State: AOAM533sVGlVEgB2fNdSShSVxOUU3XXBaPBGJ0zW91eSptsb1BMEU8vI aFfaXHGkvg3CcX5Uo4tgAw2eIQ== X-Google-Smtp-Source: ABdhPJzl2+SAfUh6NkJ+DhCKOWmzKsU6GNvGxGf2XT0aJXU9P6UbVjWdBAkeh+PuF3DGKEHMZ/Xdaw== X-Received: by 2002:a63:4622:: with SMTP id t34mr814413pga.293.1634757167736; Wed, 20 Oct 2021 12:12:47 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id e9sm3758333pfv.189.2021.10.20.12.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 12:12:47 -0700 (PDT) Date: Wed, 20 Oct 2021 12:12:46 -0700 From: Kees Cook To: Miguel Ojeda Cc: Masahiro Yamada , Michal Marek , Nick Desaulniers , Jonathan Corbet , James Morris , "Serge E. Hallyn" , Nathan Chancellor , linux-hardening@vger.kernel.org, Linux Kbuild mailing list , Linux Doc Mailing List , linux-security-module , llvm@lists.linux.dev, Dan Li , Ard Biesheuvel , Miguel Ojeda , linux-kernel Subject: Re: [PATCH 1/2] gcc-plugins: Explicitly document purpose and deprecation schedule Message-ID: <202110201212.C155FE92@keescook> References: <20211020173554.38122-1-keescook@chromium.org> <20211020173554.38122-2-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Wed, Oct 20, 2021 at 07:44:19PM +0200, Miguel Ojeda wrote: > On Wed, Oct 20, 2021 at 7:35 PM Kees Cook wrote: > > > > +Purpose > > +======= > > Sounds good to me. > > > config GCC_PLUGIN_SANCOV > > bool > > + # Plugin can be removed once the kernel only supports GCC 6.1.0+ > > Since we are just giving the major in the other cases below, I would > just say GCC 6+ here (the numbering scheme changed in GCC 5 already). Sure; now updated. > Thanks for adding the versions, by the way -- this is useful long-term > and not always done for other things... Yeah, I always struggled to find when options were added to GCC, so I wanted this for my poor brain too. :) > Reviewed-by: Miguel Ojeda Thanks! -- Kees Cook