github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/pkg/cgroups/cgroups_unsupported.go (about) 1 // +build !linux 2 3 package cgroups 4 5 // IsCgroup2UnifiedMode returns whether we are running in cgroup 2 cgroup2 mode. 6 func IsCgroup2UnifiedMode() (bool, error) { 7 return false, nil 8 } 9 10 // UserOwnsCurrentSystemdCgroup checks whether the current EUID owns the 11 // current cgroup. 12 func UserOwnsCurrentSystemdCgroup() (bool, error) { 13 return false, nil 14 }