Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp523014pxb; Thu, 2 Sep 2021 09:13:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDf967f35BxFAbcZZA+cQxIFzQhy/Q9ywi9t/3RkWPd38KUJJbqB4Gu3dHWe2e7wEJ579V X-Received: by 2002:a17:907:8693:: with SMTP id qa19mr4449148ejc.95.1630599181213; Thu, 02 Sep 2021 09:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630599181; cv=none; d=google.com; s=arc-20160816; b=XjFjy0yhM3RvhQYaAPx2i5zTErGOoqZwPUbB6bmFovXyxiCs27nUcvxdJBtnCTJnU6 UbMRmI28hkdzsNVYt5wVZDOWrDD9v67NSw6TFFHWyZQAVBvsqtmipm4YkW2s6b/1jfAp qjKFERJ7Oe3z5EKLNl3izpxR9mFsRe+OiHeQqk9/EwQcHBVh4LDudTit4xXGAAKUt2Zc Zy0OHMgS/oZ6KWB1koPkzHfO9SxFotMMdbcOzGOJeH3ZgndgW5RQpUDEQs87yiA8nIzC FK+qj0m7ZDutJyOtZXeW1i0KrWuu/C5tPlGwS5AGXtJYuX2c88HUf3MeF56rkzLB/eod BmqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GSpEDr48SFMamWq8zs4iNuq1IKQ5SNS2nRQshqJ9RkY=; b=NLEM2tgZNoKA9sravjOj3qfIDhF7TC+KwYdcaueILLoWEafLU6v4ccdjdKW4sN5z0A X5GJ17uFSvRfGae9Z2RQf2SCMQfNYZlZMbNFS3nBZ6V/eM2GisQTB5U9gUUAHvz6Xy3d ++nTA4CqSJomn0zh3I18MeUGh1AB9AA6MbkcMCQdwdRmN2FEfkHibjHQaSbDBSCBN8cf t7PplLRpdPI8J39RbN9x8e3X985e0bIjed2k9M5ia39HKkZ6+GlDPEUCVhWSfbGBSEUu NFso09qTy/s18Jsg8iXfAZ3prO0hQbkXyUjI+xuuJkT5tyC3rwtgJuOMpjSRk1rmoP/E d4aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AuxWUWPr; 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 p14si2551553edi.560.2021.09.02.09.12.13; Thu, 02 Sep 2021 09:13:01 -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=@redhat.com header.s=mimecast20190719 header.b=AuxWUWPr; 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 S1346043AbhIBQJt (ORCPT + 99 others); Thu, 2 Sep 2021 12:09:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:21304 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346047AbhIBQJt (ORCPT ); Thu, 2 Sep 2021 12:09:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630598930; 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=GSpEDr48SFMamWq8zs4iNuq1IKQ5SNS2nRQshqJ9RkY=; b=AuxWUWPrZsJfL5KU9wa4EYGjvDCn+gcA2diEzL2v23DBWmNCE/nrx6er9CKr2hjaIL+6J+ XJH4+PrDnoy3a+AK7WOHDDmZFY3YlWdbeZehl/ZaRRvbNAfMKNpEYw1f1ubZlOek3dVOgs xBscJU7jHMtakBczlwJptN+HpSSAqzU= 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-518-p8V3IUfjMrCKAJvZJcwcTw-1; Thu, 02 Sep 2021 12:08:49 -0400 X-MC-Unique: p8V3IUfjMrCKAJvZJcwcTw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 76666195D563; Thu, 2 Sep 2021 16:08:47 +0000 (UTC) Received: from asgard.redhat.com (unknown [10.36.110.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8976419C46; Thu, 2 Sep 2021 16:08:43 +0000 (UTC) Date: Thu, 2 Sep 2021 18:08:40 +0200 From: Eugene Syromiatnikov To: Cai Huoqing Cc: Steve Grubb , linux-audit@redhat.com, strace development discussions , linux-api@vger.kernel.org, davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ldv@strace.io Subject: Re: [PATCH 1/2] net: Remove net/ipx.h and uapi/linux/ipx.h header files Message-ID: <20210902160840.GA2220@asgard.redhat.com> References: <20210813120803.101-1-caihuoqing@baidu.com> <20210901160244.GA5957@asgard.redhat.com> <20210901165202.GA4518@asgard.redhat.com> <1797920.tdWV9SEqCh@x2> <20210902133529.GA32500@LAPTOP-UKSR4ENP.internal.baidu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210902133529.GA32500@LAPTOP-UKSR4ENP.internal.baidu.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 02, 2021 at 09:35:29PM +0800, Cai Huoqing wrote: > On 01 Sep 21 13:36:54, Steve Grubb wrote: > > Hello, > > > > Thanks for the heads up. > > > > On Wednesday, September 1, 2021 12:52:02 PM EDT Eugene Syromiatnikov wrote: > > > Adding linux-audit, strace-devel, and linux-api to CC:. > > > > > > On Wed, Sep 01, 2021 at 06:02:44PM +0200, Eugene Syromiatnikov wrote: > > > > On Fri, Aug 13, 2021 at 08:08:02PM +0800, Cai Huoqing wrote: > > > > > commit <47595e32869f> ("") > > > > > indicated the ipx network layer as obsolete in Jan 2018, > > > > > updated in the MAINTAINERS file > > > > > > > > > > now, after being exposed for 3 years to refactoring, so to > > > > > delete uapi/linux/ipx.h and net/ipx.h header files for good. > > > > > additionally, there is no module that depends on ipx.h except > > > > > a broken staging driver(r8188eu) > > > > > > > > > > Signed-off-by: Cai Huoqing > > > > > > > > This removal breaks audit[1] and potentially breaks strace[2][3], at > > > > least. > > > > I wouldn't say breaks so much as needs coordination with. :-) If ipx is > > being dropped in its entirety, I can just make that part of the code > > conditional to the header existing. > > > > -Steve > IPX is marked obsolete for serveral years. so remove it and the > dependency in linux tree. > I'm sorry to not thinking about linux-audit and strace. > Might you remove the dependency or make the part of the code. > Many thanks. Unfortunately, that is not how UAPI works. That change breaks building of the existing code; one cannot change already released versions of either audit, strace, or any other userspace program that happens to unconditionally include without any fallback (like provided by glibc). > > -Cai > > > > > > [1] > > > > https://github.com/linux-audit/audit-userspace/blob/ce58837d44b7d9fcb4e1 > > > > 40c23f68e0c94d95ab6e/auparse/interpret.c#L48 [2] > > > > https://gitlab.com/strace/strace/-/blob/9fe63f42df8badd22fb7eef9c12fc07e > > > > d7106d6b/src/net.c#L34 [3] > > > > https://gitlab.com/strace/strace/-/blob/9fe63f42df8badd22fb7eef9c12fc07e > > > > d7106d6b/src/sockaddr.c#L30 > > > > > > > > >