Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: source-changes
Date: 03/22/1999 09:39:45
Module Name: src
Committed By: sommerfeld
Date: Mon Mar 22 17:39:44 UTC 1999
Modified Files:
src/sys/kern: kern_descrip.c
Log Message:
bug fix to fdavail: be consistent about taking per-process descriptor
limit into account when checking against the limit; fdp->fd_nfiles may
be greater than the current descriptor limit, and there may be space
in fdp->fd_ofiles beyond the limit. If we say it's available,
unp_externalize will get confused and panic when fdalloc fails.