Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp596408pxb; Wed, 27 Jan 2021 16:13:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJy++yZurr1qmAqY91mfEb8RM3IdB2+JqCyYdJuZsTY/SnZMwLTtw8SuYRLDiYLLeJlerHGK X-Received: by 2002:a17:906:4893:: with SMTP id v19mr8566694ejq.454.1611792816394; Wed, 27 Jan 2021 16:13:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792816; cv=none; d=google.com; s=arc-20160816; b=ExyTciuwVUSg39qcCRcwcQi4jJLNYLkdpptwqbvHmCgkPJEzf3dNvjJQte7v9aj5XY mcYGKn2AoW1GNMrKEqUmBC9q3avhTJ61q+h/dX6KHRUdKA2S12BZcCMyZe18IfCNpbdC cLaH414sMne3OVneuArfZyWfubf/XScPhUw4RNASMe/bCxoRbH/EVBtbDiGuSpMrJTjz Do05tTFCrio7KuwddRCDlSDYEbRIpGw9m3owOhi2zofTl6UgFgcO78E9Czy0debWlKqL 5XiIPaQLF6twwUg0Ga5rqnX2fpPVKxzfMd72b7ewtqEkMwXK1N2rMYdU6SHouVGXu1Kj +shg== 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=mF61cZgsITSGEqXTWGfoLqDo/tPq9X9q/y5wFM1TLDw=; b=HjE4JyFafUtWc2JbzB/9wnJyGeon9E4wJFw+637sL7nuh5MDqwQKXKTSdUY0n2wBVC Znk1CDJBgtqdLnWiBPxSUAhiIjRbUrBL7kRQ9qC45Ik+kYHZ6VJVfJHve5ITssBpFLcB Ax0x9iOxHlz/65Faxl0ww+s0zYuDmn3P0jtz6enk6AdKlAet8N5vqzDNlh5/hy0WpUDF JJGu8BY8mADyuEk7ENadwOUQLF4LdXaiGSGFJSNg8fH2udiV3Fi+iV/07KW7X8SmiAke iCVqTlwnp1LZZSNobC5QiF03q4evoVaK5xMSvuXWAM+DGnDRZJ5Owm/OnFsb5NuBGmkA hPIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rd9HULBE; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc5si1474257ejb.193.2021.01.27.16.13.12; Wed, 27 Jan 2021 16:13:36 -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=@redhat.com header.s=mimecast20190719 header.b=Rd9HULBE; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232583AbhA0Swx (ORCPT + 99 others); Wed, 27 Jan 2021 13:52:53 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:51819 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232224AbhA0Swq (ORCPT ); Wed, 27 Jan 2021 13:52:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611773480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mF61cZgsITSGEqXTWGfoLqDo/tPq9X9q/y5wFM1TLDw=; b=Rd9HULBE6FkYuPRPB5FIjMBw614zoghZfieTFaPJFX+SL5pIhBcxfdusf5zBFSSjbMpNQU bgIUF5N0UirpPePR59FeGLm51Gzz6KdV9VQ3vArt/IcHSWc2/e7jPzKSMo/UBUvg9CQVTh n1bqaMKdQaNwplyJZ8jGLBjqAdc1Ar8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-291-TSafYW7ROO2gEP1B8eSM9g-1; Wed, 27 Jan 2021 13:51:18 -0500 X-MC-Unique: TSafYW7ROO2gEP1B8eSM9g-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 91E401800D42; Wed, 27 Jan 2021 18:51:16 +0000 (UTC) Received: from treble (ovpn-120-118.rdu2.redhat.com [10.10.120.118]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4AE5E60C5F; Wed, 27 Jan 2021 18:51:15 +0000 (UTC) Date: Wed, 27 Jan 2021 12:51:13 -0600 From: Josh Poimboeuf To: Christoph Hellwig Cc: 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: <20210127185113.c3est2vssf5tlyyq@treble> References: <20210127180215.GA1745339@infradead.org> <20210127183856.moe3p5pxw6bbtunk@treble> <20210127184327.GA1755516@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210127184327.GA1755516@infradead.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 06:43:27PM +0000, Christoph Hellwig wrote: > 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. Is this a joke? I've never met anybody who builds OOT modules as a development aid... On the other hand I know of several very popular distros (some paid, some not) who rely on allowing users/partners to build OOT modules as part of their ecosystem. To say it's not supported is a farce. -- Josh