k3s/vendor/github.com/opencontainers/runc/libcontainer/userns/userns.go

6 lines
195 B
Go
Raw Normal View History

package userns
// RunningInUserNS detects whether we are currently running in a user namespace.
// Originally copied from github.com/lxc/lxd/shared/util.go
var RunningInUserNS = runningInUserNS