1 //go:build !linux 2 // +build !linux 3 4 package userns 5 6 import "github.com/opencontainers/runc/libcontainer/user" 7 8 // runningInUserNS is a stub for non-Linux systems 9 // Always returns false 10 func runningInUserNS() bool { 11 return false 12 } 13 14 // uidMapInUserNS is a stub for non-Linux systems 15 // Always returns false 16 func uidMapInUserNS(uidmap []user.IDMap) bool { 17 return false 18 } 19