cvs commit: src/sys/kern kern_event.c
Kelly Yancey
kbyanc at FreeBSD.org
Fri Apr 11 18:57:05 PDT 2003
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
More information about the cvs-src
mailing list