From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 5 11:43:06 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C6A716A421 for ; Thu, 5 Jul 2007 11:43:06 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 4D74813C448 for ; Thu, 5 Jul 2007 11:43:06 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id B890BEB4AE6; Thu, 5 Jul 2007 19:28:54 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 4gYWh1uRcVSj; Thu, 5 Jul 2007 19:28:51 +0800 (CST) Received: from LI-Xins-MacBook.local (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 649FDEB4AF0; Thu, 5 Jul 2007 19:28:47 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=TWtMSXXNsixdAn8xEYwlxCr371CnjnbMYlpCvHOrESNv3X6NwnCHTC+3QKmgMMGlU kzYHEFQgWh6haEwSpH1mg== Message-ID: <468CD5E9.7060000@delphij.net> Date: Thu, 05 Jul 2007 19:28:41 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Ighighi Ighighi References: In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigE044A3765E07497168DC6A2F" Cc: freebsd-hackers@freebsd.org Subject: Re: add closefrom() call X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 11:43:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE044A3765E07497168DC6A2F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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= =2E 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, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigE044A3765E07497168DC6A2F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGjNXpOfuToMruuMARCvdKAJ9L+J6fGnA5dvKur3B88GnQ3FEKIQCeN20x ar+HhgHErqpbjrNM+dhxli8= =WMsm -----END PGP SIGNATURE----- --------------enigE044A3765E07497168DC6A2F--