[PATCH] fdopendir(3)

Kostik Belousov kostikbel at gmail.com
Mon Apr 14 09:56:08 UTC 2008


On Sun, Apr 13, 2008 at 02:47:02PM -0700, Xin LI wrote:
> Hi,
> 
> Any objection for the attached patch which implements fdopendir(3) that 
> is found in various other OSes?  Basically it splits __opendir2 into two 
> parts, and expose the second part which deals with fd to provide 
> fdopendir(3) functionalities.

There are some problems with the DTF_REWIND and union mounts.

I too implemented the fdopendir in the course of the *at() work after
the initial Roman Divacky submission. I put my patch at the
http://people.freebsd.org/~kib/misc/fdopendir.1.patch

I postponed the commit for further testing and some more changes related
to the committed *at syscalls (mainly man pages, the patch awaits the
review).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080414/78947ec8/attachment.pgp


More information about the freebsd-current mailing list