mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
This silences all of the "should have a package comment" lint warnings from golangci-lint. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
16 lines
440 B
Go
16 lines
440 B
Go
// Package userns provides tools for dealing with user namespaces.
|
|
//
|
|
// Deprecated: use github.com/moby/sys/userns
|
|
package userns
|
|
|
|
import "github.com/moby/sys/userns"
|
|
|
|
// RunningInUserNS detects whether we are currently running in a Linux
|
|
// user namespace and memoizes the result. It returns false on non-Linux
|
|
// platforms.
|
|
//
|
|
// Deprecated: use [userns.RunningInUserNS].
|
|
func RunningInUserNS() bool {
|
|
return userns.RunningInUserNS()
|
|
}
|