Merge pull request #6052 from egernst/add-darwin-skeletons

Add darwin skeletons
This commit is contained in:
Eric Ernst
2023-01-13 13:14:16 -08:00
committed by GitHub
5 changed files with 192 additions and 4 deletions

View File

@@ -18,9 +18,6 @@ import (
"golang.org/x/sys/unix"
)
// DefaultResourceControllerID runtime-determined location in the cgroups hierarchy.
const DefaultResourceControllerID = "/vc"
// ValidCgroupPathV1 returns a valid cgroup path for cgroup v1.
// see https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#cgroups-path
func ValidCgroupPathV1(path string, systemdCgroup bool) (string, error) {