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:
davidxu 2003-10-13 14:03:08 +00:00
parent e17c9a0bf7
commit b24bb74b9e

View File

@ -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.