[1/4] restore: zombie -- Add more detailed log on signals

Submitted by Cyrill Gorcunov on Dec. 7, 2018, 11:57 a.m.

Details

Message ID 20181207115712.24130-2-gorcunov@gmail.com
State New
Series "restore: Fix potential hung on restore"
Headers show

Commit Message

Cyrill Gorcunov Dec. 7, 2018, 11:57 a.m.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/cr-restore.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index af78505a2895..d915615dfce3 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -1036,6 +1036,7 @@  static int restore_one_zombie(CoreEntry *core)
 			pr_perror("Can't drop the dumpable flag");
 
 		signr = exit_code & 0x7F;
+		pr_debug("Killing zombie with signal %d\n", signr);
 		if (!sig_fatal(signr)) {
 			pr_warn("Exit with non fatal signal ignored\n");
 			signr = SIGABRT;