
This also fix the type used for RuncOptions.SystemCgroup, hence introducing an API break. Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
17 lines
198 B
Go
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
|
|
}
|