Date: Fri, 14 Nov 2003 10:49:02 -0800 (PST) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_event.c kern_exit.c Message-ID: <200311141849.hAEIn2c4057513@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cognet 2003/11/14 10:49:02 PST
FreeBSD src repository
Modified files:
sys/kern kern_event.c kern_exit.c
Log:
Better fix than my previous commit:
in exit1(), make sure the p_klist is empty after sending NOTE_EXIT.
The process won't report fork() or execve() and won't be able to handle
NOTE_SIGNAL knotes anyway.
This fixes some race conditions with do_tdsignal() calling knote() while
the process is exiting.
Reported by: Stefan Farfeleder <stefan@fafoe.narf.at>
MFC after: 1 week
Revision Changes Path
1.65 +2 -8 src/sys/kern/kern_event.c
1.218 +7 -0 src/sys/kern/kern_exit.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311141849.hAEIn2c4057513>
