]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(_hurdsig_preemptors): Provide initialization.
authorUlrich Drepper <drepper@redhat.com>
Tue, 20 May 1997 23:51:55 +0000 (23:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 20 May 1997 23:51:55 +0000 (23:51 +0000)
(_hurdsig_init): Double size of sigthread stack; msg_add_auth was
overflowing it.

hurd/hurdsig.c

index 6ebd7bed14a548699063c3323ea23a3b5e2e5989..f50daa2f8f1b75e8462b37ea4e8e340dd2a074d3 100644 (file)
@@ -426,7 +426,7 @@ abort_all_rpcs (int signo, struct machine_thread_all_state *state, int live)
       }
 }
 
-struct hurd_signal_preemptor *_hurdsig_preemptors;
+struct hurd_signal_preemptor *_hurdsig_preemptors = 0;
 sigset_t _hurdsig_preempted_set;
 
 /* XXX temporary to deal with spelling fix */
@@ -1194,7 +1194,7 @@ _hurdsig_init (void)
   err = __thread_create (__mach_task_self (), &_hurd_msgport_thread);
   assert_perror (err);
 
-  stacksize = __vm_page_size * 4; /* Small stack for signal thread.  */
+  stacksize = __vm_page_size * 8; /* Small stack for signal thread.  */
   err = __mach_setup_thread (__mach_task_self (), _hurd_msgport_thread,
                             _hurd_msgport_receive,
                             (vm_address_t *) &__hurd_sigthread_stack_base,