diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2010-02-11 21:10:56 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2010-02-11 21:10:56 +0000 |
commit | af002ab8192ac669af870cccbec541353d0a02b4 (patch) | |
tree | 6ef02f6a2d6968f16d6d9e20e2cd1e9e0813d9aa /sys/kern/sys_process.c | |
parent | e5bc56aeae5496ab2c30a88378b8b11f41dbf2c0 (diff) | |
download | src-af002ab8192ac669af870cccbec541353d0a02b4.tar.gz src-af002ab8192ac669af870cccbec541353d0a02b4.zip |
Notes
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 3fee0ed48244..d4b5d4dec8de 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -424,6 +424,9 @@ ptrace_vm_entry(struct thread *td, struct proc *p, struct ptrace_vm_entry *pve) 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) { |