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>
5 lines
135 B
Go
5 lines
135 B
Go
package userns
|
|
|
|
// RunningInUserNS detects whether we are currently running in a user namespace.
|
|
var RunningInUserNS = runningInUserNS
|