Don't clear signal mask in execsig(). RELENG_4 does not clear it and POSIX
asks to inherit signal mask for execv.
This commit is contained in:
parent
e17c9a0bf7
commit
b24bb74b9e
@ -608,10 +608,6 @@ execsigs(p)
|
||||
}
|
||||
ps->ps_sigact[_SIG_IDX(sig)] = SIG_DFL;
|
||||
}
|
||||
/*
|
||||
* Clear out the td's sigmask. Normal processes use the proc sigmask.
|
||||
*/
|
||||
SIGEMPTYSET(FIRST_THREAD_IN_PROC(p)->td_sigmask);
|
||||
/*
|
||||
* Reset stack state to the user stack.
|
||||
* Clear set of signals caught on the signal stack.
|
||||
|
Loading…
x
Reference in New Issue
Block a user