Date: Fri, 11 Apr 2003 18:57:04 -0700 (PDT) From: Kelly Yancey <kbyanc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_event.c Message-ID: <200304120157.h3C1v4I9019178@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kbyanc 2003/04/11 18:57:04 PDT
FreeBSD src repository
Modified files:
sys/kern kern_event.c
Log:
Fix race between a process registering a NOTE_EXIT EVFILT_PROC event and
the target process exiting which causes attempts to register the kevent
to randomly fail depending on whether the target runs to completion before
the parent can call kevent(2). The bug actually effects EVFILT_PROC
events on any zombie process, but the most common manifestation is with
parents trying to monitor child processes.
MFC after: 2 weeks
Sponsored by: NTT Multimedia Communications Labs
Revision Changes Path
1.58 +15 -0 src/sys/kern/kern_event.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304120157.h3C1v4I9019178>
