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)
commit8caa92eb58d76d3819876c87a20fabe0aab11378
treee47d0a047594c84da864b57a936a8bd670052033
parent261ad8e877b60519ca4e6b9a004cf7daf417c2be
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