4f0d95fa6e
Signed-off-by: Daniel Nephin <dnephin@docker.com>
12 lines
312 B
Go
12 lines
312 B
Go
package libcontainerd // import "github.com/docker/docker/libcontainerd"
|
|
|
|
import "syscall"
|
|
|
|
// containerdSysProcAttr returns the SysProcAttr to use when exec'ing
|
|
// containerd
|
|
func containerdSysProcAttr() *syscall.SysProcAttr {
|
|
return &syscall.SysProcAttr{
|
|
Setsid: true,
|
|
Pdeathsig: syscall.SIGKILL,
|
|
}
|
|
}
|