On Tue, Nov 07, 2006 at 09:51:24AM -0800, Matthew Dillon wrote:
> http://www.dragonflybsd.org/cvsweb/src/sys/machine/pc32/include/vmparam.h.diff?r1=1.7&r2=1.8&f=u

You need to adjust libkvm for this change, too.
Index: kvm_proc.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/lib/libkvm/kvm_proc.c,v
retrieving revision 1.8
diff -u -p -r1.8 kvm_proc.c
--- kvm_proc.c  10 Sep 2006 01:26:26 -0000      1.8
+++ kvm_proc.c  9 Nov 2006 06:41:18 -0000
@@ -399,7 +399,8 @@ kvm_argv(kvm_t *kd, const struct proc *p
         * Check that there aren't an unreasonable number of agruments,
         * and that the address is in user space.
         */
-       if (narg > 512 || addr < VM_MIN_ADDRESS || addr >= VM_MAXUSER_ADDRESS)
+       if (narg > 512 ||
+           addr < VM_MIN_USER_ADDRESS || addr >= VM_MAX_USER_ADDRESS)
                return (0);
 
        /*

Reply via email to