mirror of
https://github.com/moby/moby.git
synced 2026-07-10 16:48:40 +00:00
13 lines
312 B
Go
13 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,
|
|
}
|
|
}
|