Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2586147pxb; Tue, 23 Feb 2021 10:23:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVziQ+OHY7UW4cKeZ3SeO6XcwBpHmtYK9LC+8/r566uCb0RRa0V00h7VbxpYU6YDwZA4u1 X-Received: by 2002:a17:906:a287:: with SMTP id i7mr4877871ejz.363.1614104605505; Tue, 23 Feb 2021 10:23:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614104605; cv=none; d=google.com; s=arc-20160816; b=r5ZY5am5Vgqi9aMcaZY7bxaWIkjHhjknQtdiF0HeoNNnhG03xpaaxxCkJAYdYF1eoq kYCFYVed/TopiXcxDkHVsZ8AbGx85aeIgoozxxiHLD2V7OgwhP+UWS2fST7/0CzfVk38 taqgcZIf8Rfy/61Qa+5mKr9LRMyjV8t7gGMHjEeY8zYVLAoascuEwWWM2UmsHVeJoDm/ +njkzat4E0EUfKcQ/MjrSZ0S88xPofUOW1zOSpCBku4GyFPJ2TYg0QyKUWU2WtjIW+1V bFctAC0r374UrkH7HO42fq64kQ+2VC0NMGb//HPT/vohA0Y2kSkopCPjmtxGLGWEv0Z0 StxQ== 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=Y+dGVUVowl982SXOXFEzMTklpUA2xojQW2q8oSyCS6I=; b=QX+ggFyqXVuLq1XRok7G3DjlvY3n6VEj1LLzjS9XP9Bv3KWlZFDUzcXl8xl1VhK+cL NWAc+wj5LaLBShFDmKFVPMOmXwrAyIJGp3lsLcINHIz5gekhNL7Slqsr9hVn9MzE1P8c iThZRIKUhq7GGWFoLmCL8XKUkabWqAHWUYlOi7+7bAopCIZjew67zG+h6vK9ifbYJ9J5 Q0ueAx6frM1bEbCKfiqEcc9JRY5X8H0uuCKEJWvoFKZaQjjbEsf2RIwP1EpFW6eU+H8x 1fRWhqrG8RIZAKXbwBRDkzptgEy8imtpnAUXNabuikbUq59YmAT+yjutBucN8DGcvcxZ ALgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hLlvm2pV; 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 o24si14217046ejr.430.2021.02.23.10.22.56; Tue, 23 Feb 2021 10:23:25 -0800 (PST) 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=hLlvm2pV; 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 S233916AbhBWSSL (ORCPT + 99 others); Tue, 23 Feb 2021 13:18:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbhBWSR5 (ORCPT ); Tue, 23 Feb 2021 13:17:57 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43559C061786 for ; Tue, 23 Feb 2021 10:17:16 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id e9so2528855pjj.0 for ; Tue, 23 Feb 2021 10:17:16 -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=Y+dGVUVowl982SXOXFEzMTklpUA2xojQW2q8oSyCS6I=; b=hLlvm2pVK0Tz7gEpiQShUAvdZF/IEHfPu0Kiyd+yuYnxHe+j3lKQ6Hce/7/XunIp3A q++MGoX5hbc/X8vmJr5bAihBTazw7Lk276BfU6lFRHFOumUJ/OlX1TtWXUN+VNN5tKBX MaSB9/1KfbC1h4lcYuyqBfJ/CdYELcxsbBmVI= 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=Y+dGVUVowl982SXOXFEzMTklpUA2xojQW2q8oSyCS6I=; b=Ph2StxTxpYOEjJrHyx0LAOoLI2CVFDSghbPNaHs1dAGdhPCCTyhUaPnmiakN2jvq9e K0d1qRudRfCL46+ozYA99K7UDUYa4jmeHHtkewqOUe1gGvHJTOBy0l3MQcsOMFWasYip OpG+5TQKgLL6wTK9mknu31c4e1kwKZZvxm28XsRMSMKo0/n0RY87Rp25xzHxx1AT2e1v XtXBbodq/SYV2FUNP7yMcR6uoLYeDVrCsCB10VjK7vgevRZGyUnpQdkDL+4ssm69Y9gk JjaRHmZJuljPUIqcup2O1+dN6k/aKrAGvROTu4cDX4DhvCiIu3oABtXxPL4OFuT9+Y53 0Pqg== X-Gm-Message-State: AOAM531MuA+tx7VMJw04XpBL7btCrMCqu0RDanzMmOS1zUctHferXWfn wuqpAnqD39lfB5dttsVmY9RzwA== X-Received: by 2002:a17:90a:4882:: with SMTP id b2mr63805pjh.78.1614104235871; Tue, 23 Feb 2021 10:17:15 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id v26sm22964666pff.195.2021.02.23.10.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 10:17:15 -0800 (PST) Date: Tue, 23 Feb 2021 10:17:14 -0800 From: Kees Cook To: Heiko Carstens Cc: Guenter Roeck , Masahiro Yamada , linux-hardening@vger.kernel.org, Linux Kernel Mailing List , Arnd Bergmann Subject: Re: [PATCH] gcc-plugins: Disable GCC_PLUGIN_CYC_COMPLEXITY for s390 Message-ID: <202102231016.F212B396@keescook> References: <20210221225650.33134-1-linux@roeck-us.net> <8d3de6fc-0991-9cef-d5fd-032fdbe2e85e@roeck-us.net> <20210223174140.GA159796@roeck-us.net> 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 Tue, Feb 23, 2021 at 07:03:47PM +0100, Heiko Carstens wrote: > Well, if we would have e.g. RANDCONFIG, then we could probably revert > 334ef6ed06fa ("init/Kconfig: make COMPILE_TEST depend on !S390") and > instead let COMPILE_TEST depend on !RANDCONFIG. > I think this _could_ solve all common problems we currently see. > > And it would also do what you suggested. I've wanted similar (e.g. for some UBSAN options that would go weird under RANDCONFIG). :) -- Kees Cook