MCPcopy
hub / github.com/google/gvisor / RootUserNamespace

Method RootUserNamespace

pkg/sentry/kernel/kernel.go:1805–1807  ·  view source on GitHub ↗

RootUserNamespace returns the root UserNamespace.

()

Source from the content-addressed store, hash-verified

1803
1804// RootUserNamespace returns the root UserNamespace.
1805func (k *Kernel) RootUserNamespace() *auth.UserNamespace {
1806 return k.rootUserNamespace
1807}
1808
1809// RootUTSNamespace returns the root UTSNamespace.
1810func (k *Kernel) RootUTSNamespace() *UTSNamespace {

Callers 7

StartContainerMethod · 0.80
catFunction · 0.80
execAsyncMethod · 0.80
asyncCallBackMethod · 0.80
HasRootCapabilityMethod · 0.80
startSubcontainerMethod · 0.80
CreateLinksAndRoutesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected