From a2f4cb184e7615c6c9e3bee04ec44b245d37f2e4 Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 15 Jul 2003 14:04:38 +0000 Subject: If initial thread is still a bound thread, don't change its signal mask. --- sys/kern/kern_kse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_kse.c') diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index fcc8857..89d3f46 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -750,7 +750,7 @@ kse_create(struct thread *td, struct kse_create_args *uap) upcall_free(newku); return (EPROCLIM); } - if (first) { + if (first && sa) { SIGSETOR(p->p_siglist, td->td_siglist); SIGEMPTYSET(td->td_siglist); SIGFILLSET(td->td_sigmask); -- cgit v1.1