Fixed user_mem_check()
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 3 Sep 2009 15:50:25 +0000 (08:50 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 3 Sep 2009 15:50:25 +0000 (08:50 -0700)
commit29a6f11960a0270a912071cd0b9b9ec524fe16af
treea5048e4d848de34a67617f4c965d585ee4db2e65
parent329670f9fe227a2f236f31fbaed94a028b6cd296
Fixed user_mem_check()

It was only considering the permissions on the last level of the
pagetable walk, instead of the cumulative permissions.  The sparc
version still uses the old style (the result of pgdir_walk).
kern/arch/i386/pmap.c
kern/arch/sparc/pmap.c
kern/include/pmap.h
kern/src/pmap.c