signal: SIGCONT can be caught

pass ltp sigaction case 19-5.c, 23-5,c and 28-5.c.
When SIGCONT is dispatched, resume all members of the task group.
So there is nothing do in default action.

Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
This commit is contained in:
fangxinyong 2023-06-24 20:57:11 +08:00 committed by Xiang Xiao
parent 3d5eae2497
commit 7462b199bb

View File

@ -135,7 +135,7 @@ static const struct nxsig_defaction_s g_defactions[] =
{ SIGVTALRM, 0, nxsig_abnormal_termination },
#endif
#ifdef CONFIG_SIG_SIGSTOP_ACTION
{ SIGCONT, SIG_FLAG_NOCATCH, nxsig_null_action },
{ SIGCONT, 0, nxsig_null_action },
{ SIGSTOP, SIG_FLAG_NOCATCH, nxsig_stop_task },
{ SIGTSTP, 0, nxsig_stop_task },
{ SIGTTIN, 0, nxsig_stop_task },