Changed env_user_mem_walk to use return codes
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Mon, 1 Feb 2010 06:42:35 +0000 (22:42 -0800)
committerAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Mon, 1 Feb 2010 06:42:35 +0000 (22:42 -0800)
commitd8f4e62c3b47e07501e4f4aece21c3ceb6b6365e
treee3cdec31f1d1ce41f7fb08ada858512f9467a586
parentfd90748770335440511e9be4cdd1ab23889fa451
Changed env_user_mem_walk to use return codes

This way, a walk can be aborted in the middle--say, if
you found what you wanted or if you encountered an error.
Fork uses mem_walk to copy pages now.
kern/arch/i386/env.c
kern/arch/i386/mmu.h
kern/arch/sparc/env.c
kern/arch/sparc/mmu.h
kern/include/env.h
kern/include/process.h
kern/src/env.c
kern/src/process.c
kern/src/string.c
kern/src/syscall.c