Tracks process's program name
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 22 Jul 2014 19:09:13 +0000 (12:09 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 22 Jul 2014 19:09:13 +0000 (12:09 -0700)
commit311b84a18bbb55911818b707343b444e86fe7946
tree16caad65e710b21f4e60d348afb39cc7e09000d2
parent645d57bb6d798ed18a078524cd496912938e944f
Tracks process's program name

Useful for debugging with ps.  I don't track arguments yet, so scripts
all show up as busybox.

Also fixes a leak in an error case of sys_fork().
kern/drivers/dev/proc.c
kern/include/env.h
kern/include/process.h
kern/src/process.c
kern/src/syscall.c