add closefrom() call
Ed Schouten
ed at fxq.nl
Mon Jul 16 04:24:20 UTC 2007
* Julian Elischer <julian at 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.
--
Ed Schouten <ed at fxq.nl>
WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070716/c77dd6d3/attachment.pgp
More information about the freebsd-hackers
mailing list