
Commit 8437c567d8
migrated the use of the
userns package to the github.com/moby/sys/user module.
After further discussion with maintainers, it was decided to move the
userns package to a separate module, as it has no direct relation with
"user" operations (other than having "user" in its name).
This patch migrates our code to use the new module.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
9 lines
129 B
Go
9 lines
129 B
Go
//go:build linux && gofuzz
|
|
|
|
package userns
|
|
|
|
func FuzzUIDMap(uidmap []byte) int {
|
|
_ = uidMapInUserNS(string(uidmap))
|
|
return 1
|
|
}
|