Roland Mainz <roland.mainz at nrubsig.org> wrote:
> Without looking at the matching code... does the standard (assuming
> |openat()| passed the standards yet) about |cloned_fd =
> openat(original_fd, ".", ...)| (the idea is to reference the current fd
> as "." and hope it will open another fd to the same file) ?
The POSIX.1-2008 standard has been recently approved.
In POSIX, the file descriptor must be a directory file descriptor.
Introducing new functionality now without discussing this in the opengroup
mailing list does not look like a good idea.
BTW: When will Solaris support O_SEARCH and other new POSIX flags?
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
joerg.schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily