22 lines
325 B
Go
22 lines
325 B
Go
//go:build !linux
|
|
|
|
package sandbox
|
|
|
|
import (
|
|
"os"
|
|
"os/exec"
|
|
)
|
|
|
|
// signalKill is the Linux SIGKILL number reported by stopped runs.
|
|
const signalKill = 9
|
|
|
|
func platformSupported() error {
|
|
return ErrUnsupportedPlatform
|
|
}
|
|
|
|
func attachToCgroup(*exec.Cmd, *runCgroup) {}
|
|
|
|
func peakMemoryKB(*os.ProcessState) int64 {
|
|
return 0
|
|
}
|