Fixes bugs with waitpid()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Feb 2013 01:56:07 +0000 (17:56 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 26 Feb 2013 01:56:07 +0000 (17:56 -0800)
commit2d399c86ceedc597a6f48d01d2ff4e9aad1e6800
tree94fa9e52caf2eb6191a74ed78e4e9e56a5cd1f43
parent9703d6ead170db22eff9f02ef86a2754859dcbde
Fixes bugs with waitpid()

Should return -1 when there are no children; looks like I misread the
man page.  Also, we always return a status (when requested), and not
just for certain results.  Finally, we properly put the return value in
the correct byte.

We still don't do anything with signalling, stopping, etc.
kern/src/syscall.c