mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-12 09:46:25 +08:00
d8e9ed3e08
This makes libcontainer/userns self-dependent, largely returning to the original implementation from lxc. The `uiMapInUserNS` is kept as a separate function for unit-testing and fuzzing. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
10 lines
137 B
Go
10 lines
137 B
Go
//go:build gofuzz
|
|
// +build gofuzz
|
|
|
|
package userns
|
|
|
|
func FuzzUIDMap(uidmap []byte) int {
|
|
_ = uidMapInUserNS(string(uidmap))
|
|
return 1
|
|
}
|