Date: Mon, 16 Jul 2007 06:22:16 +0200 From: Ed Schouten <ed@fxq.nl> To: Julian Elischer <julian@elischer.org> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: add closefrom() call Message-ID: <20070716042216.GD39075@hoeg.nl> In-Reply-To: <469AB30A.5000001@elischer.org> References: <de5dfb5a0707041727j3e3518f9l5a019717a9f90aa@mail.gmail.com> <20070705122650.GE1302@britannica.bec.de> <468E16E6.6030608@delphij.net> <20070706112453.GA3217@hoeg.nl> <468E7007.5050607@elischer.org> <20070715211549.GB39075@hoeg.nl> <469AB30A.5000001@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--eqp4TxRxnD4KrmFZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Julian Elischer <julian@elischer.org> wrote:
> Ed Schouten wrote:
>> Woops! Sorry for responding this late, but it looks like I didn't
>> explain myself good enough. Sorry. :) To rephrase myself:
>> Wouldn't it be better to just implement fcntl(..., F_CLOSEM, ...) in the
>> kernel and make closefrom() a simple libc routine:
>> void
>> closefrom(int lowfd)
>> {
>> fcntl(lowfd, F_CLOSEM, NULL);
>> }
>
> what on earth would that achieve?
> (as opposed to just a simple syscall)
Compatability with an existing implementation.
--=20
Ed Schouten <ed@fxq.nl>
WWW: http://g-rave.nl/
--eqp4TxRxnD4KrmFZ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFGmvJ452SDGA2eCwURAur1AJ9e5Ft+T1fBTT4TQVMUMsu09cIlbACfQJw3
fsqdT2FgEfMFREZ/8FzcoGQ=
=rXxf
-----END PGP SIGNATURE-----
--eqp4TxRxnD4KrmFZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070716042216.GD39075>
