Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/alpha/alpha pullup 1.46->1.47 (cgd)



details:   https://anonhg.NetBSD.org/src/rev/37cbb4639157
branches:  netbsd-1-4
changeset: 468601:37cbb4639157
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Apr 30 21:04:57 1999 +0000

description:
pullup 1.46->1.47 (cgd)

diffstat:

 sys/arch/alpha/alpha/trap.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r fb69d256b58d -r 37cbb4639157 sys/arch/alpha/alpha/trap.c
--- a/sys/arch/alpha/alpha/trap.c       Fri Apr 30 21:03:09 1999 +0000
+++ b/sys/arch/alpha/alpha/trap.c       Fri Apr 30 21:04:57 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.42 1999/03/24 05:50:51 mrg Exp $ */
+/* $NetBSD: trap.c,v 1.42.2.1 1999/04/30 21:04:57 perry Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.42 1999/03/24 05:50:51 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.42.2.1 1999/04/30 21:04:57 perry Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -430,7 +430,8 @@
                         * we need to reflect that as an access error.
                         */
                        if (map != kernel_map &&
-                           (caddr_t)va >= vm->vm_maxsaddr) {
+                           (caddr_t)va >= vm->vm_maxsaddr &&
+                           va < USRSTACK) {
                                if (rv == KERN_SUCCESS) {
                                        unsigned nss;
        



Home | Main Index | Thread Index | Old Index