Skip to content

Commit e7520af

Browse files
Sentry systrap: exit the entire process when one stub process is dead
1 parent 523c82f commit e7520af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sentry/kernel/task_run.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ func (app *runApp) execute(t *Task) taskRunState {
356356
default:
357357
// What happened? Can't continue.
358358
t.Warningf("Unexpected SwitchToApp error: %v", err)
359-
t.PrepareExit(linux.WaitStatusExit(int32(ExtractErrno(err, -1))))
359+
t.PrepareGroupExit(linux.WaitStatusTerminationSignal(linux.SIGKILL))
360360
return (*runExit)(nil)
361361
}
362362
}

0 commit comments

Comments
 (0)