If initial thread is still a bound thread, don't change its signal mask.
This commit is contained in:
parent
1fa84077e8
commit
af161f2232
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user