Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1109355ybl; Thu, 12 Dec 2019 09:45:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyT3E+4Kk3gtHJXpX4qxMQ4J5YND+SqrxNDrnKBTb2bjIipxlJtZko+BxKMT3HJOEO+gmDB X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr9661851otq.63.1576172745510; Thu, 12 Dec 2019 09:45:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576172745; cv=none; d=google.com; s=arc-20160816; b=Xb6gzaR2ARK0/L7krt46ekqLXUZSGZcRyLapd1Ja/TWHBo3R+8nhcqKi+7dK33IS91 LFO2c3jaw71UcGrV4G+U7HP7ygep1phF8627VegQABipmxvofZBSDrUq/d7dB47gzD0B cy1feE88BiNwEdMbY8pNrXlTCiQl7OCNQqlHbyL+dQE596aN5NqVMtPNnLmYr3S9z40D Db2jClD0UyiYbiIcfrJWgGoC9di+zIQJ8+7FH24FduqQGRrS+BGklgrsIl+5Ik8x/6HZ JrBF72jfacqJ86zQ0lHBUWuTeSiSWm3F3V8IKV8kPCR/9LZxhEdy9vZ7TiJKeZIkR79w v/Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vAybGGxacChJwAejcpVjaSkmOSjuyOa7Vm0vQDf0ytg=; b=Dfkvo0H7uONvFDTk8uQdRl6spm2uHwTF99Ob+7ij0itcy/dAVlvfFWNdDhg1aVfVSD taBDdi+m6uR4ti9hoE3ux/09Q+Gkd7OGWatYxc6cMna7v6Khlu/G6N0muXsh3cxZqG2Y YYJNBbzGxnNDHER0KQZ9fL7jwAViW6e+Q6Idh7H+WKMqfy1LRWcI9gDk8udlfvISt+Oo GZ54myJQrAjf8DexKkCnZe2QDmy4RTsPMTwRaE+v7BvKxIq2Y+z/vNBQN2Idtxl6mP0O pBYdzidrdA/ClTcxODkeMscU8kXscyxlmF6K9akOaUOd9VGgoUZnfJqcvPA5nSJrcH1G kM7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XtKdqd1u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id n7si3500154otk.277.2019.12.12.09.45.32; Thu, 12 Dec 2019 09:45:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XtKdqd1u; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730215AbfLLRo3 (ORCPT + 99 others); Thu, 12 Dec 2019 12:44:29 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45253 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730075AbfLLRo3 (ORCPT ); Thu, 12 Dec 2019 12:44:29 -0500 Received: by mail-pf1-f196.google.com with SMTP id 2so1120591pfg.12 for ; Thu, 12 Dec 2019 09:44:28 -0800 (PST) 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=vAybGGxacChJwAejcpVjaSkmOSjuyOa7Vm0vQDf0ytg=; b=XtKdqd1uqEqin8HfnsY6la7gkuC/L5k7UGq5WAVvh5yLgp/O7bgr5j2xLaZPJpJSZY BkbEVDXJE8CedObjoydxulNAUnY3TJHHQNcPAZ/CoOJ+AT/xyDRa1yKCyjg1ofQCSrPc dmOUjyw+tazUcoYKBq1whPaLNbhoET6FUDY6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vAybGGxacChJwAejcpVjaSkmOSjuyOa7Vm0vQDf0ytg=; b=DN6Rs7F70lzxMetzDSfQY2/rknrUgsTZwULUS7NvdGBnPmsn9vtXZEqk1dlr35qjbb P6uslOoSUWVKKMM7+iEfY/EcoSw41Whsj4KYASFPRa32YVJq56g12bWerO4K4k3lftFf IbzLzNwdH3Pf+6qA0rJNx4CF9NGkRo0Z0hqPdwY9hZT3mSd9uJQK4RTypWrUlreRsnsx HZ7qFJsU+6e+hArk8CITmIfVFWHGYsk2RRdVEx9QpjD77MA54yIG0FD/YTMXPGFaxlOP Egb0gjz5qDZuHILFojvjIKeYwDqg4wiLsC9/BDRQopTlW1NOA9QWj8AQvffZICgSty7T Vyiw== X-Gm-Message-State: APjAAAXL8rEB4qSLnS8XRCELcYsIdKeuSwnI/iMbBtx2BumcgFat0DV8 3y3YT/uit+yQJm3hseZgEso8cg== X-Received: by 2002:aa7:9d0d:: with SMTP id k13mr11590528pfp.254.1576172668230; Thu, 12 Dec 2019 09:44:28 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id o17sm6423863pjq.1.2019.12.12.09.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2019 09:44:27 -0800 (PST) Date: Thu, 12 Dec 2019 09:44:26 -0800 From: Kees Cook To: Arnd Bergmann Cc: Masahiro Yamada , Emese Revfy , Ard Biesheuvel , Andrey Ryabinin , Kernel Hardening , Linux Kernel Mailing List , clang-built-linux , Andrew Morton Subject: Re: [PATCH] gcc-plugins: make it possible to disable CONFIG_GCC_PLUGINS again Message-ID: <201912120943.486E507@keescook> References: <20191211133951.401933-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 12, 2019 at 10:59:40AM +0100, Arnd Bergmann wrote: > On Thu, Dec 12, 2019 at 5:52 AM Masahiro Yamada wrote: > > > > On Wed, Dec 11, 2019 at 10:40 PM Arnd Bergmann wrote: > > > > > > I noticed that randconfig builds with gcc no longer produce a lot of > > > ccache hits, unlike with clang, and traced this back to plugins > > > now being enabled unconditionally if they are supported. > > > > > > I am now working around this by adding > > > > > > export CCACHE_COMPILERCHECK=/usr/bin/size -A %compiler% > > > > > > to my top-level Makefile. This changes the heuristic that ccache uses > > > to determine whether the plugins are the same after a 'make clean'. > > > > > > However, it also seems that being able to just turn off the plugins is > > > generally useful, at least for build testing it adds noticeable overhead > > > but does not find a lot of bugs additional bugs, and may be easier for > > > ccache users than my workaround. > > > > > > Fixes: 9f671e58159a ("security: Create "kernel hardening" config area") > > > Signed-off-by: Arnd Bergmann > > > > Reviewed-by: Masahiro Yamada > > On Wed, Dec 11, 2019 at 2:59 PM Ard Biesheuvel > wrote: > >Acked-by: Ard Biesheuvel > > Thanks! Who would be the best person to pick up the patch? > Should I send it to Andrew? Acked-by: Kees Cook I can take it in my tree, or I'm happy to have Masahiro take it. -- Kees Cook