From 7462b199bb68cf4f3c6d52ced25d6016fb85295f Mon Sep 17 00:00:00 2001 From: fangxinyong Date: Sat, 24 Jun 2023 20:57:11 +0800 Subject: [PATCH] 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 --- sched/signal/sig_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/signal/sig_default.c b/sched/signal/sig_default.c index f49c131f4d..0bc8b9ba2e 100644 --- a/sched/signal/sig_default.c +++ b/sched/signal/sig_default.c @@ -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 },