Introduce PID_ERROR as an invalid exec return value.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Sep 2004 06:44:03 +0000 (06:44 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 20 Sep 2004 06:44:03 +0000 (06:44 +0000)
commit8a0c402207a9c4b0dc58f417ae3bc169c6f62f0f
tree4b94134e00169caa07500771cb0dd2481a113745
parent641a6e3078a66123fb30057e2f281d6e1a6a7ca4
Introduce PID_ERROR as an invalid exec return value.
Make shell example check for invalid join return,
because passing an invalid value to exec is allowed to kill the
process.
src/lib/user/syscall.h
src/tests/userprog/shell.c