Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2007 14:49:30 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: add closefrom() call
Message-ID:  <20070706124930.GA1174@britannica.bec.de>
In-Reply-To: <de5dfb5a0707041727j3e3518f9l5a019717a9f90aa@mail.gmail.com>
References:  <de5dfb5a0707041727j3e3518f9l5a019717a9f90aa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 04, 2007 at 08:27:49PM -0400, Ighighi Ighighi wrote:
> It is implemented with the F_CLOSEM fcntl() available since version 2.0.

I don't like the fcntl(2) approach as it applies actions to more than
the passed in fd. That feels like an interface abuse.

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070706124930.GA1174>