mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
(_hurd_init): Set _HURDSIG_TRACED before calling _hurd_proc_init.
This commit is contained in:
parent
77aae36646
commit
d545ee47a2
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user