* Reset specified signal to the default disposition. */
| 964 | * Reset specified signal to the default disposition. |
| 965 | */ |
| 966 | static void |
| 967 | sigdflt(struct sigacts *ps, int sig) |
| 968 | { |
| 969 | |
| 970 | mtx_assert(&ps->ps_mtx, MA_OWNED); |
| 971 | SIGDELSET(ps->ps_sigcatch, sig); |
| 972 | if ((sigprop(sig) & SIGPROP_IGNORE) != 0 && sig != SIGCONT) |
| 973 | SIGADDSET(ps->ps_sigignore, sig); |
| 974 | ps->ps_sigact[_SIG_IDX(sig)] = SIG_DFL; |
| 975 | SIGDELSET(ps->ps_siginfo, sig); |
| 976 | } |
| 977 | |
| 978 | /* |
| 979 | * Reset signals for an exec of the specified process. |
no test coverage detected