More careful with cur_tf in syscalls
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 19 Nov 2010 20:06:18 +0000 (12:06 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:57 +0000 (17:35 -0700)
commit012f3f401ba8fcdf110147b24eb10909d89c30d6
treeb99c265b340ce5134a6b7d46fb0b52085930ae47
parent7194dbd709524c5965509d0db9ca66ad3c75469f
More careful with cur_tf in syscalls

Once we check for it, we need to make sure we use it before we block
(not that proc_alloc() or the resource request stuff block (yet)).
kern/src/resource.c
kern/src/syscall.c