Subject: CVS commit: src/sys/kern
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 11/09/2003 07:55:38
Module Name:	src
Committed By:	yamt
Date:		Sun Nov  9 07:55:38 UTC 2003

Modified Files:
	src/sys/kern: kern_descrip.c vfs_syscalls.c

Log Message:
- fix an use-after-free bug in /dev/fd/* handling.
  specifically, don't keep a stale pointer in fd_ofiles.
  it isn't needed anymore as fd allocation is now done using bitmaps.
- clean up dupfdopen() a little.
- don't call fd_used() unnecessarily.

To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 src/sys/kern/kern_descrip.c
cvs rdiff -r1.199 -r1.200 src/sys/kern/vfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.