containerd/linux/shim/client_unix.go
Kenfe-Mickael Laventure ab0cb4e756
linux: Honor RuncOptions if set on container
This also fix the type used for RuncOptions.SystemCgroup, hence introducing
an API break.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-08-31 14:35:05 -07:00

17 lines
198 B
Go

// +build !linux,!windows
package shim
import (
"os/exec"
"syscall"
)
var atter = syscall.SysProcAttr{
Setpgid: true,
}
func setCgroup(cgroupPath string, cmd *exec.Cmd) error {
return nil
}