mirror of
https://github.com/opencontainers/runc.git
synced 2026-04-22 23:17:17 +08:00
9b60a93cf3
The userns package was moved to the moby/sys/userns module
at commit 3778ae603c.
This patch deprecates the old location, and adds it as an alias
for the moby/sys/userns package.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
7 lines
140 B
Go
7 lines
140 B
Go
//go:build !linux
|
|
|
|
package userns
|
|
|
|
// inUserNS is a stub for non-Linux systems. Always returns false.
|
|
func inUserNS() bool { return false }
|