From owner-cvs-src@FreeBSD.ORG Fri Apr 11 18:57:05 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0770A37B401; Fri, 11 Apr 2003 18:57:05 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 987C643F3F; Fri, 11 Apr 2003 18:57:04 -0700 (PDT) (envelope-from kbyanc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3C1v40U019179; Fri, 11 Apr 2003 18:57:04 -0700 (PDT) (envelope-from kbyanc@repoman.freebsd.org) Received: (from kbyanc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3C1v4I9019178; Fri, 11 Apr 2003 18:57:04 -0700 (PDT) Message-Id: <200304120157.h3C1v4I9019178@repoman.freebsd.org> From: Kelly Yancey Date: Fri, 11 Apr 2003 18:57:04 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_event.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 01:57:05 -0000 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