DragonFly commits List (threaded) for 2010-08
git: kernel - Fix system lockup w/ kqueue based select/poll due to dup2()
Author: Matthew Dillon <email@example.com>
Date: Sat Aug 21 14:00:49 2010 -0700
kernel - Fix system lockup w/ kqueue based select/poll due to dup2()
* dup2() was not calling knote_fdclose() on the original descriptor being
* fdfree() (called by exit) was not cleaning out knotes either, though
exit*() probably took care of it already when it closed the descriptors.
* Assert that a file has no knotes on the last fdrop().
Reported-by: everyone + lentferj + alexh + swildner + Studbolt
Summary of changes:
sys/kern/kern_descrip.c | 11 +++++++++++
sys/kern/kern_event.c | 28 ++++++++++------------------
2 files changed, 21 insertions(+), 18 deletions(-)
DragonFly BSD source repository