Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1813742pxb; Wed, 20 Oct 2021 12:15:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpq4AHpwgyTZdEVWnXk8mSdaTlr+PnsFr/sjNyCaUmXXIoMTIUQcvyJcHG1wQwsHbT4txK X-Received: by 2002:a17:906:fad4:: with SMTP id lu20mr1525412ejb.316.1634757320421; Wed, 20 Oct 2021 12:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634757320; cv=none; d=google.com; s=arc-20160816; b=rY8FiE8wT9xtv+gme9b8zjtlD9iIBYYe96D/57ztTss9oWBFwn+1Tgv8pwU2htKKo/ I6gibD0JNJOnvtm793MylHN5t+DBLX1IGK9p2b1SlIqJuMT08+vuy8I+UgVDmyyT2cY5 Gaa0Gfvu5jsQH7bHKRo1XCt0gcich9bBeLxoGZHQ5zRI6DjN+aV/GpAg0bCvL4ndqR7y C8vCRvZJpit7xnI9m3oVOVb2BaED4dwWOdAW+DAa7U8sSwxkgI08JGMghgf7pe/R5t7H LFO7HuJiMdKh2tsHEx3PbZ7Lk7+9WzltGfPxKA2aTw7T0/3F5+osVAwtJb2g9oduWcYU JTsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CFUDLBWdmnPV44bi7dVx5A56FXXnHIGNsm6BfJl0RsI=; b=Tx5ru8IGns/T/S2vSKHH0QwzRK452uXe04on8hY7X5pTH5qkDcuNArI2PFfaker44U 87gj6kimPOdx5auttslgAxyitv7SgRWi0jnewaNohROe/jZOtZYDQNipjAgQe9VLM0W2 wXushXf/Q4/lj++pXLfzb7oAv4tX95Y408cFsekRIySOT19JZv1hN3ZUIueFQe4T9A+b qm17+M/gx9o0EQKubyU7pA2vZ/ZoCwvVzgd0IsjfUk1z3KimFSmmKikwmIj0XvPZCBJd umQZDPNxWBamNeMsuzMO5ckulHTELysJQFqxIs83Lnj1hiwO4mwXcY9yvCAHhBPZY20j KrRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JtQFBqmy; 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 j22si3893212ejt.705.2021.10.20.12.14.56; Wed, 20 Oct 2021 12:15:20 -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=JtQFBqmy; 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 S231458AbhJTTPD (ORCPT + 99 others); Wed, 20 Oct 2021 15:15:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbhJTTPC (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 2D679C061753 for ; Wed, 20 Oct 2021 12:12:48 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id q5so23379839pgr.7 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=EiiGGSd7IpPJSxi31VSiJdXmIkWrCSb9R5/TgIXERCMKqBg5Ru+X+FbOBKTBbjYZZ2 I7iAfC0Gmv00KAMIGFM8f0IACpgHHj5NmZXhmSCx97Gl2b/Ef02J+9WyJpAbZcEow0La Xcdoff7YS2uWvH003tSwn4gX8eV9EYGL202Wx0A7+SCr+HvdqvWprnWXT70EPCL/VMJF Eq23Yb68aK9hhLG5P8LQ65Gj2qp5peUZ3WaPIX49Td5kXXuSPpF6yITKNX9aYH4DDVqV 6iTpBmUnoGTp2AFk8yqDPkXVA080ZJ1HU4BhPkaDwZ5aVoI+ZOBJfOxg0iTua6T4Qhpn vutQ== X-Gm-Message-State: AOAM530cURmDyBlTRv3N6GY9+wyKu2aMFjMdCw19uv4MA8n+6SB6+O8Q xamP4cqDlUd+S7eA+wy6t+Lwig== 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-kernel@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