Check MMAP_LOWEST_VA in __is_user_addr()
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 1 Oct 2015 15:14:20 +0000 (11:14 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 8 Oct 2015 14:29:57 +0000 (10:29 -0400)
commite4bb22148f6b0ff0fa33c737c63d6ee53fe5fd0d
treee1648ab81c2ffedbb728db24be5c4d7c55671a11
parent88db9d60a4123c54521ee91886053a3e40743036
Check MMAP_LOWEST_VA in __is_user_addr()

The main utility for this is in debugging.  We'll be more likely to
distinguish between a kernel page fault due to a buggy kernel from a
page fault due to a bad user.  The latter we'll eventually deal with.
The former requires a bug fix.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/umem.h