mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
c14213399a
Removed pre-go1.17 build-tags with go fix;
go fix -mod=readonly ./...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
16 lines
289 B
Go
16 lines
289 B
Go
//go:build !linux
|
|
|
|
package userns
|
|
|
|
// 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 string) bool {
|
|
return false
|
|
}
|