Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1039746AbdDUNNx (ORCPT ); Fri, 21 Apr 2017 09:13:53 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36481 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1039540AbdDUNNs (ORCPT ); Fri, 21 Apr 2017 09:13:48 -0400 Subject: Re: Unchecked flags in statx(2) [Should be fixed before 4.11-final?] To: David Howells References: <18703.1492779716@warthog.procyon.org.uk> Cc: mtk.manpages@gmail.com, lkml , linux-fsdevel , hch@infradead.org From: "Michael Kerrisk (man-pages)" Message-ID: <5d662912-5cbe-a171-2273-50bbbedbc880@gmail.com> Date: Fri, 21 Apr 2017 15:13:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <18703.1492779716@warthog.procyon.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 559 Lines: 19 On 04/21/2017 03:01 PM, David Howells wrote: > Michael Kerrisk (man-pages) wrote: > (3) There's no problem with asking for extra bits, even if the running kernel > does not support them, because the kernel tells you in its response what > fields it actually gave you. It's this piece that I overlooked. Makes sense, of course. Sorry for the noise! Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/