Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3424551rwp; Sat, 15 Jul 2023 02:19:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlFKuSLnCzwPMN+HFR85Ugktg9/J5QtF86oJqiUvMfM0J4q3zEN2LEhaYR1G4+KO1eFd6KgF X-Received: by 2002:a17:906:64cb:b0:993:d54b:3e42 with SMTP id p11-20020a17090664cb00b00993d54b3e42mr1136954ejn.5.1689412767616; Sat, 15 Jul 2023 02:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689412767; cv=none; d=google.com; s=arc-20160816; b=qECZmsCRfj9RsRIDrzJjtDKUiby+QqBXyPPIN5PK3L7FsBtI6KeISCAyAnMepYMqbg /DhAHbHDeT6JBFP0vUV0/UTEbc/XIaOUxMHam95l5DezJCEwDdUGDSz/w5eUc2KZpDHD bTjGU2EZ3f6E3m8+zJrYlcvpr6s+1HCQx/lE04qLrW/GyZ4JfMYZZ5mKueU5ZWxPnZfq U8hxD2C9YagooGcecFbVR7fNv9sRrjWqVEZPGj41vPk63sxkvcKvVCaqZ3cmMZ4sJj4G EPXhzqKhpLE1iRSXX2wxTkozEGN1jEWjp/c9m+yv521vByZ1+8aaQpKj3imAWciiHZX+ GAyA== 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; bh=Aq33ET6Fthlh5x4+HrjIIsgmFbFqHwrVyYbT5aFBG5Q=; fh=tcl19X2u8PtEELiqC9wF/fi8DNcGozPCtYGeW6FgzSg=; b=ZQryQds50IqO8frEH42u+ZYF4JU7jWP1XSNENbENU4dBqWxNjVMxQRIVu9rEm4BDJm p/IhlFawrh9wTZYI9Kjm03EGaxkDjZEOofoccSH2YJE41oB/Ppk5spYLs4ogaBamEJ6D vVjji2CJucA5N53+r1ofjyRTcwfK2IreMDI7gnIUvJGmTybA4tod7XL2S3AJoyuPVkug aLS1LQP4MecX5KjNrx6a+t8RCeONOlsxd/ccqEVLLW5ASfDP0dGFfGcG72H/icLz5sAs Wo44qkIu7VYizYOtRNz+ml+Gm4K6D+s4dyc/TDRGoFhnUN9JWuqAS4r+oDqbbc/+INGt xYsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g4-20020a170906198400b00988a210d8a3si2018859ejd.239.2023.07.15.02.19.03; Sat, 15 Jul 2023 02:19:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230174AbjGOI75 (ORCPT + 99 others); Sat, 15 Jul 2023 04:59:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjGOI7z (ORCPT ); Sat, 15 Jul 2023 04:59:55 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A849B2D66; Sat, 15 Jul 2023 01:59:53 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 36F8xgCt024263; Sat, 15 Jul 2023 10:59:42 +0200 Date: Sat, 15 Jul 2023 10:59:42 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, thomas@t-8ch.de Subject: Re: [PATCH v3 01/11] tools/nolibc: remove the old sys_stat support Message-ID: <20230715085942.GB24086@1wt.eu> References: <5319451b7e01f1d101b94dcecf195c734eb74ebc.1689150149.git.falcon@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5319451b7e01f1d101b94dcecf195c734eb74ebc.1689150149.git.falcon@tinylab.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zhangjin, On Wed, Jul 12, 2023 at 05:16:34PM +0800, Zhangjin Wu wrote: > __NR_statx has been added from v4.10: > > commit a528d35e8bfc ("statx: Add a system call to make enhanced file info available") > > It has been supported by all of the platforms since at least from v4.20 > and glibc 2.28. > > Let's remove the old arch related and dependent sys_stat support > completely. > > This is friendly to the future new architecture porting. As I previously said, I'd like that we at least preserve compatibility with supported stable branches. 4.14 and 4.19 are still supported, so does this mean that if I rebuild my preinit against the updated nolibc it will fail to boot on such older systems for the archs that we support? Because if it means that in order to support all currently active kernels, one must only build from an older copy of the lib, that becomes a disservice to its development and usage. Thus if you checked that aarch64, arm, i386, mips, riscv, s390 and x86_64 had already adopted statx by 4.14, then I'm fine and we can drop stat(), but then it must be mentioned in the commit message, because here it's not explicit. Thanks! Willy