github.com/opencontainers/runc@v1.2.0-rc.1.0.20240520010911-492dc558cdd6/libcontainer/userns/userns_unsupported.go (about) 1 //go:build !linux 2 // +build !linux 3 4 package userns 5 6 // runningInUserNS is a stub for non-Linux systems 7 // Always returns false 8 func runningInUserNS() bool { 9 return false 10 } 11 12 // uidMapInUserNS is a stub for non-Linux systems 13 // Always returns false 14 func uidMapInUserNS(uidMap string) bool { 15 return false 16 }