Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1601803imm; Thu, 18 Oct 2018 00:40:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61atW8xkl24xjfvBmqtLSN86+TIg0Ysq/CIG+iMJo+tZHkj4xy0EYaCQ36SQhUtH7OnJnml X-Received: by 2002:a63:b08:: with SMTP id 8-v6mr27240495pgl.130.1539848400589; Thu, 18 Oct 2018 00:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539848400; cv=none; d=google.com; s=arc-20160816; b=DSXUUFnti0Ix+lVjFuPvEy9MvSYoCs9K5+zeF0NBN0yBbdTY1Er8lVN3mQ4oFjuPBK eykysz+RL+KjXwq89w3gKian0vMdIjdyxzjPIoPjEcX3QIwJyJWBahuZVAT9o1wPbfgt 95L49UY/sFZS7EuW3ZBYz6yjRT36z8X8An4XYd5UIB3LjvwjzWj7g6OgQpYTHNOLiYFN rOrhnuPgL2D+1c76cbt/t7zhxT9vQxFYO7+/72hKFQHXKa7nW1Jf/4/qA5sadx6k2udS zSL5lJQLWyLAyUE64mTSX/hRp321pJdnb1DQasHd5g+57WOkitThZoPWBMFrZEh7T5yv +lXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to:date :references:subject:cc:to:from; bh=+z7WDBMKDFyy7goEop2Kcxf1ZAaOf3isymbxo13mPcE=; b=a5X/Yjh+jA2KAJFsVSjLhfAj7WMD3PSXEQO6W84V+BAmw7S6UYl2DaOHpQ/9p2eXo+ eEemh6eO4OISZ5dgFa/N4MFJixUnEd17vp1Z8iCxwlaWzeKYYwLhjhfDwGMPGH5FYU1/ s84fnfFfSSt9jXYRIOZvthbyiNwNlmmLUV1V4ULGm0a23M27Qeh/HGCQ+M5ntRLGVu5I lQ+L2qHGTtFC+O6HwZnSftDKJ8WMTiw4nS34if0XgGLNX/aegztzkOd37kz+p7QD1K1t xTZm0v90E8Fw/HHwdjzz+pEnKSG3rNKyJJe9Z8tNlnKAujv8DCbUUJCdJ/ajJ43z7K3B 9UgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8-v6si20344296pgj.352.2018.10.18.00.39.45; Thu, 18 Oct 2018 00:40:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbeJRPjH (ORCPT + 99 others); Thu, 18 Oct 2018 11:39:07 -0400 Received: from albireo.enyo.de ([5.158.152.32]:51896 "EHLO albireo.enyo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727440AbeJRPjH (ORCPT ); Thu, 18 Oct 2018 11:39:07 -0400 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1gD2tt-0000E6-Fa; Thu, 18 Oct 2018 07:39:21 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.89) (envelope-from ) id 1gD2tt-00044L-8m; Thu, 18 Oct 2018 09:39:21 +0200 From: Florian Weimer To: Miklos Szeredi Cc: Andreas Dilger , Michael Kerrisk , David Howells , Linux FS-devel Mailing List , Linux Kernel Mailing List , Linux API Subject: Re: statx(2) API and documentation References: <006890C4-64D4-4DE2-A1F0-335FFFD585BB@dilger.ca> <878t2wb4dr.fsf@mid.deneb.enyo.de> Date: Thu, 18 Oct 2018 09:39:21 +0200 In-Reply-To: (Miklos Szeredi's message of "Thu, 18 Oct 2018 09:37:44 +0200") Message-ID: <87sh13ya8m.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Miklos Szeredi: > On Thu, Oct 18, 2018 at 12:22 AM, Florian Weimer wrote: >> * Andreas Dilger: >> >>>> So what's the point exactly? >>> >>> Ah, I see your point... STATX_ALL seems to be mostly useful for the kernel >>> to mask off flags that it doesn't currently understand. It doesn't make >>> much sense for applications to specify STATX_ALL, since they don't have any >>> way to know what each flag means unless they are hard-coded to check each of >>> the STATX_* flags individually. They should build up a mask of STATX_* flags >>> based on what they care about (e.g. "find" should only request attributes >>> based on the command-line options given). >> >> Could you remove it from the UAPI header? I didn't want to put it >> into the glibc header, but was overruled. > > To summarize Linus' rule of backward incompatibility: you can do it as > long as nobody notices. So yeah, we could try removing STATX_ALL from > the uapi header, but we'd have to put it back in, once somebody > complains. I don't recall a rule about backwards-incompatible API changes. This wouldn't impact ABI at all.