Move oci and shim to execution package

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-12-01 11:06:32 -08:00
parent c2a57e2b00
commit fdbae36237
25 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,15 @@
// +build !solaris
package main
import (
"syscall"
)
// setPDeathSig sets the parent death signal to SIGKILL so that if the
// shim dies the container process also dies.
func setPDeathSig() *syscall.SysProcAttr {
return &syscall.SysProcAttr{
Pdeathsig: syscall.SIGKILL,
}
}