From owner-svn-src-all@FreeBSD.ORG Thu Feb 11 21:10:56 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A81C31065670; Thu, 11 Feb 2010 21:10:56 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 96B328FC13; Thu, 11 Feb 2010 21:10:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o1BLAugF089127; Thu, 11 Feb 2010 21:10:56 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o1BLAutg089126; Thu, 11 Feb 2010 21:10:56 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201002112110.o1BLAutg089126@svn.freebsd.org> From: Marcel Moolenaar Date: Thu, 11 Feb 2010 21:10:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203788 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 21:10:56 -0000 Author: marcel Date: Thu Feb 11 21:10:56 2010 New Revision: 203788 URL: http://svn.freebsd.org/changeset/base/203788 Log: Initialize pve_fsid and pve_fileid to VNOVAL. Modified: head/sys/kern/sys_process.c Modified: head/sys/kern/sys_process.c ============================================================================== --- head/sys/kern/sys_process.c Thu Feb 11 19:20:06 2010 (r203787) +++ head/sys/kern/sys_process.c Thu Feb 11 21:10:56 2010 (r203788) @@ -424,6 +424,9 @@ ptrace_vm_entry(struct thread *td, struc vm_map_unlock_read(map); vmspace_free(vm); + pve->pve_fsid = VNOVAL; + pve->pve_fileid = VNOVAL; + if (error == 0 && obj != NULL) { lobj = obj; for (tobj = obj; tobj != NULL; tobj = tobj->backing_object) {