[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070715222323.GG21668@ftp.linux.org.uk>
Date: Sun, 15 Jul 2007 23:23:23 +0100
From: Al Viro <viro@....linux.org.uk>
To: Nicholas Miell <nmiell@...cast.net>
Cc: Jan Engelhardt <jengelh@...putergmbh.de>,
linux-fsdevel@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: *at syscalls for xattrs?
On Sun, Jul 15, 2007 at 02:13:21PM -0700, Nicholas Miell wrote:
>
> I suspect he was asking for
>
> int getxattrat(int fd, const char *path, const char *name, void *value,
> size_t size, int flags)
> int setxattrat(int fd, const char *path, const char *name, void *value,
> size_t size, int xattrflags, int atflags)
>
> rather than the ability to access xattrs as files.
Just one question: what the bleeding hell for? Not that the rest of
..at() family made any damn sense as an interface...
> > > BTW, why is fstatat called fstatat and not statat? (Same goes for
> > > futimesat.) It does not take a file descriptor for the file argument.
> > > Otherwise we'd also need fopenat/funlinkat, etc. Any reasons?
> >
> > Ulrich having an odd taste?
>
> Solaris compatibility.
"Sun having no taste whatsoever"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists