summaryrefslogtreecommitdiff
path: root/proc/mgt.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-06-05 21:18:38 +0000
committerRoland McGrath <roland@gnu.org>1999-06-05 21:18:38 +0000
commit24e51adeb213496b1842222da58a47cccdbc9184 (patch)
treed5d7c40bd71f0cce2fde7468e5040994fec85f2a /proc/mgt.c
parentfe62c3c56265801efa19edeea1bad9de02c72911 (diff)
1999-06-05 Roland McGrath <roland@baalperazim.frob.com>
* proc.h (struct proc): Use unsigned int for flag bitfields. * mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc.
Diffstat (limited to 'proc/mgt.c')
0 files changed, 0 insertions, 0 deletions