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
aeba777e45
commit
3a2e2a0ec8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121070
@ -608,10 +608,6 @@ execsigs(p)
|
|||||||
}
|
}
|
||||||
ps->ps_sigact[_SIG_IDX(sig)] = SIG_DFL;
|
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.
|
* Reset stack state to the user stack.
|
||||||
* Clear set of signals caught on the signal stack.
|
* Clear set of signals caught on the signal stack.
|
||||||
|
Loading…
Reference in New Issue
Block a user