github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/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 }