Cleans up fork/exec's procinfo/data handling
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 13 Sep 2011 18:35:06 +0000 (11:35 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:06 +0000 (17:36 -0700)
commit9fa9b17da32fd8a158e906d9b2e7c4c206020343
treed91d66193c7f042a909bbf67c2b9fa14cc095a2c
parentf64c4392b57ccaec748f7491ad6178e5b3df678c
Cleans up fork/exec's procinfo/data handling

This makes the process fork creates new/fresh by default, and things
needed from procinfo are copied over one at a time.  The old way was
that the procinfo/procdata were identical.

In general, I tend to really dislike fork/exec: lots of hacks and pains
in the ass.  At least it isn't as bad as it used to be (when the proc
creation paths were totally separate).
kern/include/process.h
kern/include/ros/procinfo.h
kern/src/env.c
kern/src/process.c
kern/src/syscall.c