suppress stopping signal properly

This commit is contained in:
5ec1cff
2024-01-06 15:54:37 +08:00
parent 505e5dc4ba
commit 7979cb4b25

View File

@@ -387,11 +387,11 @@ public:
LOGW("inject signal sent to init: %s %d",
sigabbrev_np(WSTOPSIG(status)), WSTOPSIG(status));
ptrace(PTRACE_CONT, pid, 0, WSTOPSIG(status));
continue;
} else {
LOGW("suppress stopping signal sent to init: %s %d",
sigabbrev_np(WSTOPSIG(status)), WSTOPSIG(status));
}
continue;
}
ptrace(PTRACE_CONT, pid, 0, 0);
}