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:
David Xu 2003-10-13 14:03:08 +00:00
parent aeba777e45
commit 3a2e2a0ec8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121070

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.