See comments.
xxxxx@xxxxx.com 2005-2-10 04:33:25 GMT
From Comments:
Due to setrlimit(2)'s definiton of process.max-file-descriptors/RLIMIT_NOFILE being "One more than the maximum value that the system may assign to a newly created descriptor", we need to check that the number of file descriptors (nfds) is not equal to or larger than curproc->p_fno_ctl.
xxxxx@xxxxx.com 2005-2-10 04:33:26 GMT
*** (#1 of 1): 2005-02-09 23:33:25 EST xxxxx@xxxxx.com