From 8486283cd5efb6b3c78428658eed685c5e8469d7 Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Mon, 21 Mar 2022 02:21:42 +0500 Subject: vlib: leave SIGCONT signal with its default handler Systemd always sends SIGCONT after KillSignal, to ensure that even suspended tasks can be terminated cleanly. However, the default action of SIGCONT handler in VPP such as unix_signal_handler() is process termination with coredump, what is not really desired. So, leave it alike SIGSTOP with its default handler. Type: feature Signed-off-by: Vladislav Grishenko Change-Id: I54c06d21669ec3c709322d746db9e28448c31bb8 --- src/vat/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vat') diff --git a/src/vat/main.c b/src/vat/main.c index d052493495d..1640c5ded6a 100644 --- a/src/vat/main.c +++ b/src/vat/main.c @@ -267,6 +267,7 @@ setup_signal_handlers (void) /* these signals take the default action */ case SIGABRT: case SIGKILL: + case SIGCONT: case SIGSTOP: case SIGUSR1: case SIGUSR2: -- cgit 1.2.3-korg