libcontainer/userns: migrate to github.com/moby/sys/userns

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>
This commit is contained in:
Sebastiaan van Stijn
2024-07-25 11:38:28 +02:00
committed by lfbzhm
parent 8bf5f0d441
commit 9b60a93cf3
20 changed files with 253 additions and 53 deletions

View File

@@ -0,0 +1,8 @@
//go:build linux && gofuzz
package userns
func FuzzUIDMap(uidmap []byte) int {
_ = uidMapInUserNS(string(uidmap))
return 1
}