(_hurd_init): Set _HURDSIG_TRACED before calling _hurd_proc_init.
authorMiles Bader <miles@gnu.org>
Wed, 29 May 1996 14:05:50 +0000 (14:05 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 29 May 1996 14:05:50 +0000 (14:05 +0000)
hurd/hurdinit.c

index cd37065..eccbd8e 100644 (file)
@@ -70,10 +70,6 @@ _hurd_init (int flags, char **argv,
   __task_set_special_port (__mach_task_self (), TASK_BOOTSTRAP_PORT,
                           portarray[INIT_PORT_BOOTSTRAP]);
 
-  /* Tell the proc server we exist, if it does.  */
-  if (portarray[INIT_PORT_PROC] != MACH_PORT_NULL)
-    _hurd_proc_init (argv);
-
   if (intarraysize > INIT_UMASK)
     _hurd_umask = intarray[INIT_UMASK] & 0777;
   else
@@ -82,6 +78,10 @@ _hurd_init (int flags, char **argv,
   if (intarraysize > INIT_TRACEMASK)
     _hurdsig_traced = intarray[INIT_TRACEMASK];
 
+  /* Tell the proc server we exist, if it does.  */
+  if (portarray[INIT_PORT_PROC] != MACH_PORT_NULL)
+    _hurd_proc_init (argv);
+
   /* All done with init ints and ports.  */
   __vm_deallocate (__mach_task_self (),
                   (vm_address_t) intarray,