Helper for syscalls getting pid2proc
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Aug 2014 21:56:29 +0000 (14:56 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Aug 2014 21:56:29 +0000 (14:56 -0700)
commit59e60f2375694d1d244c01a14fa52cb6b20a3047
treed7ba7b79e6b398fe60727997e48d3b0d39c349f3
parent63d54e8a8c5d54a0a83a093ccc3a1be8f78905e4
Helper for syscalls getting pid2proc

Given a pid, I often want to get a proc only if p controls it.  Some uses for
pid2proc, like in wait and poke, want to do their own thing.
kern/src/syscall.c