Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752326AbbLUXVb (ORCPT ); Mon, 21 Dec 2015 18:21:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36206 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653AbbLUXV2 (ORCPT ); Mon, 21 Dec 2015 18:21:28 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 In-Reply-To: <20151204120633.GI14427@amd> References: <20151204120633.GI14427@amd> <20151120145422.18930.72662.stgit@warthog.procyon.org.uk> <20151120145457.18930.79678.stgit@warthog.procyon.org.uk> To: Pavel Machek Cc: dhowells@redhat.com, arnd@arndb.de, linux-afs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [PATCH 03/12] statx: Add a system call to make enhanced file info available MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6178.1449249670.1@warthog.procyon.org.uk> From: David Howells Date: Mon, 21 Dec 2015 23:21:24 +0000 Message-ID: <4234.1450740084@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 16 Pavel Machek wrote: > But fstat() is really different operation to stat() -- tell me about > my file descriptor vs. tell me about this filename, and ptrace (and > some "security" solutions) might want to allow one but disallow the > second. I'd not group them together.. You can argue it either way. I think Linus came down on the side of combining them. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/