Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161970AbdDUSqA (ORCPT ); Fri, 21 Apr 2017 14:46:00 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:36379 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423600AbdDUSpz (ORCPT ); Fri, 21 Apr 2017 14:45:55 -0400 From: Andreas Dilger Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_23E7B984-1347-4134-BD73-812D848D8C21"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Unchecked flags in statx(2) [Should be fixed before 4.11-final?] Date: Fri, 21 Apr 2017 12:16:38 -0600 In-Reply-To: <5d662912-5cbe-a171-2273-50bbbedbc880@gmail.com> Cc: David Howells , lkml , linux-fsdevel , hch@infradead.org To: "Michael Kerrisk (man-pages)" References: <18703.1492779716@warthog.procyon.org.uk> <5d662912-5cbe-a171-2273-50bbbedbc880@gmail.com> X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1418 Lines: 53 --Apple-Mail=_23E7B984-1347-4134-BD73-812D848D8C21 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 21, 2017, at 7:13 AM, Michael Kerrisk (man-pages) = wrote: >=20 > On 04/21/2017 03:01 PM, David Howells wrote: >> Michael Kerrisk (man-pages) wrote: >=20 >> (3) There's no problem with asking for extra bits, even if the = running >> kerneldoes not support them, because the kernel tells you in its >> response what fields it actually gave you. >=20 > It's this piece that I overlooked. Makes sense, of course. > Sorry for the noise! I agree with David that we don't want to return an error if the = application asks for more bits than the kernel supports, otherwise the interface = would be useless. Maybe this implies that this needs to be explained more clearly in the statx man page? Cheers, Andreas --Apple-Mail=_23E7B984-1347-4134-BD73-812D848D8C21 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iD8DBQFY+kyIpIg59Q01vtYRAtxMAKDodYmhBc7g9V71KK8543mC8G0leQCfYICw aG6OwlYcqGLG6pvyz/CyQuA= =p3PS -----END PGP SIGNATURE----- --Apple-Mail=_23E7B984-1347-4134-BD73-812D848D8C21--