[PATCH] DCE for pre15

Ben Taylor bent at clark.net
Tue Nov 30 05:44:02 EST 1999


On Mon, 29 Nov 1999, Tor-Ake Fransson wrote:

> Some notes have rised:
> 
> The for loop 3->64 closing fd's... is it really needed? Is it solaris 
> endgrent() that leave fd's? I get a hang on closing fd 12 and 16.

Actually, if you're going to close all the file descriptors, you should
probably use getrlimit for the number of file descriptors,  and loop
with that value. The number of file descriptors is a totally configurable
number.


Ben






More information about the openssh-unix-dev mailing list