Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 11/09/2003 07:55:38
Module Name: src
Committed By: yamt
Date: Sun Nov 9 07:55:38 UTC 2003
src/sys/kern: kern_descrip.c vfs_syscalls.c
- 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.