From owner-cvs-src@FreeBSD.ORG Fri Nov 17 14:52:42 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 4954816A415; Fri, 17 Nov 2006 14:52:42 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2065943D49; Fri, 17 Nov 2006 14:52:39 +0000 (GMT) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAHEqduG052470; Fri, 17 Nov 2006 14:52:39 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAHEqchQ052469; Fri, 17 Nov 2006 14:52:39 GMT (envelope-from kib) Message-Id: <200611171452.kAHEqchQ052469@repoman.freebsd.org> From: Konstantin Belousov Date: Fri, 17 Nov 2006 14:52:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/procfs procfs_ioctl.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 17 Nov 2006 14:52:42 -0000 kib 2006-11-17 14:52:38 UTC FreeBSD src repository Modified files: sys/fs/procfs procfs_ioctl.c Log: Wake up PIOCWAIT handler on the process exit in addition to the stop events. &p->p_stype is explicitely woken up on process exit for us. Now, truss /nonexistent exits with error instead of waiting until killed by signal. Reported by: Nikos Vassiliadis nvass at teledomenet gr Reviewed by: jhb MFC after: 1 week Revision Changes Path 1.15 +2 -2 src/sys/fs/procfs/procfs_ioctl.c