Messages in this thread | | | From | "Michael Kerrisk (man-pages)" <> | Date | Thu, 3 May 2012 18:48:45 +1200 | Subject | Re: [PATCH] open(2): document O_PATH |
| |
Ted,
On Mon, Apr 30, 2012 at 11:44 PM, Ted Ts'o <tytso@mit.edu> wrote: > It might also be a good idea to document explicitly whether or not > things like fstat() and the syscalls to manipulate extended attributes > are expected to work.
Good point. From some testing, it appears that syscalls such as fstat() and fgetxattr() fail with EBADF on O_PATH fds. I'll add that to the text.
Thanks,
Michael
-- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/
| |