(_hurd_init): Set _HURDSIG_TRACED before calling _hurd_proc_init.

This commit is contained in:
Miles Bader 1996-05-29 14:05:50 +00:00
parent 77aae36646
commit d545ee47a2

View File

@ -70,10 +70,6 @@ _hurd_init (int flags, char **argv,
__task_set_special_port (__mach_task_self (), TASK_BOOTSTRAP_PORT, __task_set_special_port (__mach_task_self (), TASK_BOOTSTRAP_PORT,
portarray[INIT_PORT_BOOTSTRAP]); 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) if (intarraysize > INIT_UMASK)
_hurd_umask = intarray[INIT_UMASK] & 0777; _hurd_umask = intarray[INIT_UMASK] & 0777;
else else
@ -82,6 +78,10 @@ _hurd_init (int flags, char **argv,
if (intarraysize > INIT_TRACEMASK) if (intarraysize > INIT_TRACEMASK)
_hurdsig_traced = intarray[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. */ /* All done with init ints and ports. */
__vm_deallocate (__mach_task_self (), __vm_deallocate (__mach_task_self (),
(vm_address_t) intarray, (vm_address_t) intarray,