Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp597346pxb; Wed, 27 Jan 2021 16:15:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTM/4F7oE1VyBs4uRjU3yNUvcoC9rVtfnOW+fp/oz8KcZ6mQP5Pa/UjUS3bosq2T6KtJ4Z X-Received: by 2002:a17:906:2898:: with SMTP id o24mr8505953ejd.215.1611792913100; Wed, 27 Jan 2021 16:15:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792913; cv=none; d=google.com; s=arc-20160816; b=nnTaw9cJMoYPNFKw8h7TvSMGzCQ0xVoWs6TnEqCKhzepm09kAcQh6UHAHWGCIDHpJQ L967IpC4O367bUBqjaRo3pJjjxfC8OsdXSiC9yrnTdKwo6RGZfq3c/rOQwb5Mq4uZLa8 bgCEisk5nuIjVefPodYRv/Bbp3ZmSZQFPcuezLhqjLEobk+cTUsdW8f86R2MSc4AATTt YCYgATa2FE9JDG7Ld+P7gL3IulOHfbBoqhH9aprgYBkNjkmKvNHF9ISh738WQzePbzsx xmAiLdM9weHnSCYwP4mQSd9SMKLxYVgj83B8KJtCCHodFciOd/U/yCT6RWnPNkgxQWC1 9ouw== 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=qvOVQ+emId709g0fRRromVJAvjd0lfbW3+lzsS9Pf9A=; b=AvDfB7saI16SdfnpNdRD8F2nqECDHyV7eX8y+mB6LpU1RAIw6LMRpPWHtK1kuT8ZGU kgvFB/upSZ/Q5HFIGy0/oK3A1udbBdUZpmxUBjmECw7PIsXcX69jt1SeisbyR4BpUCb0 0i17GTA4Dr9TubM2OtJN9uIocoKw7OFP/JcZ9A3N2WDyII+DZWfD+6H2DUWxZwAJiwev 5HfhqGoZG7bwypn9riWBt2704zEGIaXnaWks0RyNffuxozZYHmYb/Dj3srHouilbJ9s0 qEMmA0RqgfnavvAHxEVtWEjeiZwU+1hjyPQyrBRJ3ES7YvzqMpO0g/e+/276d3egcmUS u0lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=g7GNAB87; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si1445301ejb.381.2021.01.27.16.14.48; Wed, 27 Jan 2021 16:15:13 -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=@infradead.org header.s=casper.20170209 header.b=g7GNAB87; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344020AbhA0SpI (ORCPT + 99 others); Wed, 27 Jan 2021 13:45:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343525AbhA0Sol (ORCPT ); Wed, 27 Jan 2021 13:44:41 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABA88C061574; Wed, 27 Jan 2021 10:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qvOVQ+emId709g0fRRromVJAvjd0lfbW3+lzsS9Pf9A=; b=g7GNAB87PYB6KJ9b4Mn3hMyUPC 5HjWpORzs4qDR/FcrBIOsXK9DfSH7nTIcy4gzCcCanwdbuvF+y1sJjgSdrIr2VLs0MdpdaFXg5ofa WORsZI/N82fl6JYXdj4b9kFE27DcSOJjAzPiwDI/avADX6/cY2lHzHoWr8xdBZSQxGqCgy/4N2H3Z +culQWyh16I9l69fxoBgKPWtTD2duCWIrrRagA+EGEz9Iy3gbfcml87oW7g1m9GIyj33KGKj/G7Dm qZY2r3aiI407tHThpuRYzcsHZIgl0fyFdFpyUiGEk2tED6LxXYe/uIrzMN/KCaJIwNd6RF8OK8Jlg lzmDhfzw==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l4pmp-007Mme-AY; Wed, 27 Jan 2021 18:43:35 +0000 Date: Wed, 27 Jan 2021 18:43:27 +0000 From: Christoph Hellwig To: Josh Poimboeuf Cc: Christoph Hellwig , Kees Cook , linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Marek , linux-hardening@vger.kernel.org, linux-kbuild@vger.kernel.org, Peter Zijlstra , Justin Forbes , Ondrej Mosnacek , Greg Kroah-Hartman Subject: Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules Message-ID: <20210127184327.GA1755516@infradead.org> References: <20210127180215.GA1745339@infradead.org> <20210127183856.moe3p5pxw6bbtunk@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127183856.moe3p5pxw6bbtunk@treble> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 12:38:56PM -0600, Josh Poimboeuf wrote: > On Wed, Jan 27, 2021 at 06:02:15PM +0000, Christoph Hellwig wrote: > > Please don't add all this garbage. We only add infrastructure to the > > kernel for what the kernel itself needs, not for weird out of tree > > infrastructure. > > This isn't new, the kernel already has the infrastructure for building > out-of-tree modules. It's widely used. Are you suggesting we remove > it? Good luck with that... > > Either it should be supported, or not. Make the case either way. But I > can't understand why people are advocating to leave it half-broken. It is not support as any kind of interface. It is a little aid for local development. Adding any kond of complexities for out of tree modules is a complete no-go.