diff --git a/bootstrap/src/procmgr.rs b/bootstrap/src/procmgr.rs index 22eede37cb..7a985d5a85 100644 --- a/bootstrap/src/procmgr.rs +++ b/bootstrap/src/procmgr.rs @@ -147,10 +147,10 @@ pub fn run(write_fd: usize, auth: &FdGuard) { // dont-care, already called explicit exit() 0 } else if sts_buf.status == ContextStatus::ForceKilled as usize { - // TODO: "killed by SIGKILL" - 1 + (SIGKILL << 8) as u16 } else if sts_buf.status == ContextStatus::UnhandledExcp as usize { // TODO: translate arch-specific exception kind + // TODO: generate coredump (or let some other process do that) // into signal (SIGSEGV, SIGBUS, SIGILL, SIGFPE) 1 } else {