summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-29 14:05:50 +0000
committerMiles Bader <miles@gnu.org>1996-05-29 14:05:50 +0000
commitd545ee47a2dff9ba04c4ed0aa193168313d2cae4 (patch)
treed71a297e9942539cf610384c4360e6f29822f182
parent77aae36646c277bcf26cea48c167b657811f0ab3 (diff)
(_hurd_init): Set _HURDSIG_TRACED before calling _hurd_proc_init.
-rw-r--r--hurd/hurdinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c
index cd37065f93..eccbd8ed3d 100644
--- a/hurd/hurdinit.c
+++ b/hurd/hurdinit.c
@@ -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,