add closefrom() call

LI Xin delphij at delphij.net
Thu Jul 5 11:43:06 UTC 2007


Ighighi Ighighi wrote:
> The closefrom() call, available in Solaris, is present in NetBSD since
> version 3.0.
> It is implemented with the F_CLOSEM fcntl() available since version 2.0.

I think it might worth an effort (sendmail and perhaps some part of JDK
uses it IIRC), but I do not want to rush it into -CURRENT unless we have
test cases to make sure that we have done things correctly, because I do
not have a NetBSD nor Solaris box at hand to experiment its behavior... :-(

Do you have some test cases for this?

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070705/98ffc688/signature.pgp


More information about the freebsd-hackers mailing list