From owner-cvs-all Tue Jul 9 23:31:41 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24DB437B400; Tue, 9 Jul 2002 23:31:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB6343E52; Tue, 9 Jul 2002 23:31:36 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from freefall.freebsd.org (truckman@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6A6VaJU080796; Tue, 9 Jul 2002 23:31:36 -0700 (PDT) (envelope-from truckman@freefall.freebsd.org) Received: (from truckman@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6A6VaJm080795; Tue, 9 Jul 2002 23:31:36 -0700 (PDT) Message-Id: <200207100631.g6A6VaJm080795@freefall.freebsd.org> From: Don Lewis Date: Tue, 9 Jul 2002 23:31:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG truckman 2002/07/09 23:31:36 PDT Modified files: sys/kern kern_sig.c Log: Rearrange the code so that it checks whether the file is something valid to write a core dump to before doing the preparations to actually write to the file. Call VOP_GETATTR() before dropping the initial vnode lock. Revision Changes Path 1.175 +8 -9 src/sys/kern/kern_sig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message