- To: "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] open(2): document O_PATH
- From: "Ted Ts'o" <tytso@xxxxxxx>
- Date: Thu, 3 May 2012 09:07:07 -0400
- Cc: "Michael Kerrisk (man-pages)" <mtk.manpages@xxxxxxxxx>, Mike Frysinger <vapier@xxxxxxxxxx>, linux-man@xxxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, Richard Weinberger <richard@xxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>
- In-reply-to: <87fwbhhdp2.fsf@skywalker.in.ibm.com>
- Mail-followup-to: Ted Ts'o <tytso@xxxxxxx>, "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx>, "Michael Kerrisk (man-pages)" <mtk.manpages@xxxxxxxxx>, Mike Frysinger <vapier@xxxxxxxxxx>, linux-man@xxxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, Richard Weinberger <richard@xxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>
- User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, May 03, 2012 at 01:57:21PM +0530, Aneesh Kumar K.V wrote:
>
> fstat won't work, but fstatat with an empty path name would work. O_PATH
> descriptors are suppose to be used as "location only descriptors".
> We then extended the *at syscalls to work with EMPTY pathnames so that
> O_PATH descriptors can be used with readlink, fchownat and fstatat().
> This was done to enable us to do these operation on symlinks.
> (65cfc6722361570bfe255698d9cd4dccaf47570d)
Could you define explicitly what you mean by "EMPTY" pathnames? Do
you mean a path name that doesn't exist? (i.e., one of the
directories specified in the pathname does not currently exist in the
directory hierarchy visible to the process).
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Netdev]
[Linux Ethernet Bridging]
[Linux Wireless]
[Kernel Newbies]
[Memory]
[Security]
[Linux for Hams]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux Admin]
[Samba]
[Video 4 Linux]
[Linux Resources]