Subject: Re: implementing closeall via a syscall
To: Matt Thomas <>
From: mouss <>
List: tech-kern
Date: 01/06/2004 00:12:10
Matt Thomas wrote:

> At 02:28 PM 1/5/2004, you wrote:
> Note that the diffs have already been applied to NetBSD. :)

great! what's missing then?

> closefrom/fdwalk seem fine from a compatibility area.  closem
> doesn't seem to be needed.

agreed. after all, fcntl can be used if one really needs to know about 
the errors.

> fdrelease can't fail.  it will always close the descriptor.  So there is no
> infinite loop.
Didn't know that. I suggest putting a reminder at fdrelease, so that if 
someday someone modifies it...