From 5abb66d243ab81759ba4762629d6263ae4133924 Mon Sep 17 00:00:00 2001 From: John Dyson Date: Mon, 2 Feb 1998 05:14:03 +0000 Subject: [PATCH] Return the vm_map in the eproc structure, so we can support more accurate VSZ display in PS. --- sys/kern/kern_proc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 460e9fb4cc82..40b99be039a9 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 - * $Id: kern_proc.c,v 1.30 1997/10/12 20:23:52 phk Exp $ + * $Id: kern_proc.c,v 1.31 1998/01/22 17:29:48 dyson Exp $ */ #include @@ -423,6 +423,7 @@ fill_eproc(p, ep) ep->e_vm.vm_daddr = vm->vm_daddr; ep->e_vm.vm_minsaddr = vm->vm_minsaddr; ep->e_vm.vm_maxsaddr = vm->vm_maxsaddr; + ep->e_vm.vm_map = vm->vm_map; #ifndef sparc ep->e_vm.vm_pmap = vm->vm_pmap; #endif