Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 21:10:56 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203788 - head/sys/kern
Message-ID:  <201002112110.o1BLAutg089126@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002112110.o1BLAutg089126>