summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_kse.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-07-15 14:04:38 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-07-15 14:04:38 +0000
commita2f4cb184e7615c6c9e3bee04ec44b245d37f2e4 (patch)
tree0ab0aa76e2a4fe65134af8daf8c8f0a7169f5145 /sys/kern/kern_kse.c
parent4a2b20e22bc8b20052858f82cdef93977fbbf72f (diff)
downloadFreeBSD-src-a2f4cb184e7615c6c9e3bee04ec44b245d37f2e4.zip
FreeBSD-src-a2f4cb184e7615c6c9e3bee04ec44b245d37f2e4.tar.gz
If initial thread is still a bound thread, don't change its signal mask.
Diffstat (limited to 'sys/kern/kern_kse.c')
-rw-r--r--sys/kern/kern_kse.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud