too many close calls for non-opened fds
Darren Tucker
dtucker at zip.com.au
Wed Aug 23 20:24:37 EST 2006
On Tue, Aug 22, 2006 at 11:54:52AM -0700, Frank Cusack wrote:
> On August 16, 2006 2:44:43 PM -0700 Carson Gaspar <carson at taltos.org> wrote:
> > You learn something new every day... Solaris 10 also has closefrom() and
> > fdwalk() (which performs an arbitrary function on all open fds, allowing
> > you to check the return code from each close, unlike closefrom()).
>
> Also Solaris 9. First documentation I can find for it is from Dec '02,
> but that document is dated Apr '00. It might have been a private
> interface before 12/02, or online docs are missing info before then
> (they do seem to be sparse). In any case the point is, this isn't new
> to Solaris 10.
I believe they originated in Solaris 9.
According to our survey data, the platforms that have closefrom() are:
i386-unknown-netbsdelf3.0.
i386-unknown-openbsd3.6
i386-unknown-openbsd3.7
i386-unknown-openbsd3.9
sparc-sun-solaris2.10
sparc-sun-solaris2.9
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list