diff options
Diffstat (limited to 'proc')
-rw-r--r-- | proc/main.c | 3 | ||||
-rw-r--r-- | proc/mgt.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/proc/main.c b/proc/main.c index 494169e7..73abbc07 100644 --- a/proc/main.c +++ b/proc/main.c @@ -28,6 +28,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <argp.h> #include <error.h> #include <version.h> +#include <pids.h> #include "proc.h" @@ -87,7 +88,7 @@ main (int argc, char **argv, char **envp) self_proc = allocate_proc (mach_task_self ()); assert (self_proc); - complete_proc (self_proc, 0); + complete_proc (self_proc, HURD_PID_PROC); startup_port = ports_get_send_right (startup_proc); err = startup_procinit (boot, startup_port, &startup_proc->p_task, @@ -32,6 +32,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <sys/resource.h> #include <hurd/auth.h> #include <assert.h> +#include <pids.h> #include "proc.h" #include "process_S.h" @@ -582,7 +583,7 @@ create_startup_proc (void) p = allocate_proc (MACH_PORT_NULL); assert (p); - p->p_pid = 1; + p->p_pid = HURD_PID_STARTUP; p->p_parent = p; p->p_sib = 0; |