From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk" Subject: Re: [PATCH] utimensat() non-conformances and fixes [v3] Date: Tue, 3 Jun 2008 13:52:20 +0200 Message-ID: References: <482D4665.4050401@gmail.com> <48401E7E.9090304@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drepper@redhat.com, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-man@vger.kernel.org, linux-fsdevel@vger.kernel.org To: "Miklos Szeredi" Return-path: Received: from nf-out-0910.google.com ([64.233.182.185]:34532 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803AbYFCLwW (ORCPT ); Tue, 3 Jun 2008 07:52:22 -0400 Received: by nf-out-0910.google.com with SMTP id d3so573272nfc.21 for ; Tue, 03 Jun 2008 04:52:20 -0700 (PDT) In-Reply-To: Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Jun 3, 2008 at 1:13 PM, Miklos Szeredi wrote: >> > I'm not sure of the correct way to get the required nameidata (to do a >> > vfs_permission() call) from the file descriptor. Can you give me a >> > tip there? >> >> Could you point me at the right way of doing this? > > You don't need nameidata for this at all. Just call permission() with > a NULL nameidata. Thanks Miklos!