forked from security/hakurei
internal/outcome/shim: remove noop resume
The shim does not suspend output to begin with. These are leftovers from when container startup code suspends output. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -169,14 +169,10 @@ func shimEntrypoint(k syscallDispatcher) {
|
||||
}
|
||||
|
||||
// setup has not completed, terminate immediately
|
||||
msg.Resume()
|
||||
k.exit(hst.ExitRequest)
|
||||
return
|
||||
|
||||
case 1: // got SIGCONT after adoption: monitor died before delivering signal
|
||||
msg.BeforeExit()
|
||||
case 1: // got SIGCONT via pdeath_signal: monitor died before delivering signal
|
||||
k.exit(hst.ExitOrphan)
|
||||
return
|
||||
|
||||
case 2: // unreachable
|
||||
msg.Verbose("sa_sigaction got invalid siginfo")
|
||||
|
||||
Reference in New Issue
Block a user