close-on-exec alternatives (was: Why kernel kills processes
that run out of memory instead of just failing memory allocation
system calls?)
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Jun 2 19:41:25 UTC 2009
On Tue, Jun 02, 2009 at 08:58:50PM +0200, Bernd Walter wrote:
> It is still very interesting, because I currently have a similar problem
> and wasn't aware of getdtablesize();
Note that many (other) systems provide a much simpler and efficient
function for the above, closefrom(3).
Joerg
More information about the freebsd-hackers
mailing list