summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/runc/libcontainer/userns/userns_unsupported.go
blob: f45bb0c31560ae51cba755f945549c45988d6229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +build !linux

package userns

import "github.com/opencontainers/runc/libcontainer/user"

// runningInUserNS is a stub for non-Linux systems
// Always returns false
func runningInUserNS() bool {
	return false
}

// uidMapInUserNS is a stub for non-Linux systems
// Always returns false
func uidMapInUserNS(uidmap []user.IDMap) bool {
	return false
}