Skip to content
quarry Artifact [2e64b35829]
Login

Artifact [2e64b35829]

Artifact 2e64b35829c0a2facd3739eda2351283cda8e2c0fd212f61121c2ecf2f228fc4:


//go:build !linux

package children

import (
	"errors"
	"os/exec"
)

// ConfineMemory needs Linux's cgroup v2; elsewhere children run as before.
func ConfineMemory(int64) (string, error) {
	return "", errors.New("child memory groups need Linux cgroup v2")
}

func confine(*exec.Cmd) {}