Add helpers to create child processes
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 7 Jun 2016 20:12:00 +0000 (16:12 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jun 2016 16:17:53 +0000 (12:17 -0400)
commit8a2453e351dd77bfa4309ba502161f93bd64e979
tree749ea12f2329bbd35275686b883ca8e8ce71c64c
parent26f869d4e65b6319b429283fac964b564ccc9d19
Add helpers to create child processes

Basically everyone who creates a process will want to try to lookup in
/bin and to be able to handle scripts.  Another common usage is to pass
the parent's FDs to the child.

strace now uses this helper, which means we can now strace shell
scripts.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tests/strace.c
user/parlib/include/parlib/parlib.h
user/parlib/parlib.c