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

Method RootPIDNamespace

pkg/sentry/kernel/kernel.go:1820–1822  ·  view source on GitHub ↗

RootPIDNamespace returns the root PIDNamespace.

()

Source from the content-addressed store, hash-verified

1818
1819// RootPIDNamespace returns the root PIDNamespace.
1820func (k *Kernel) RootPIDNamespace() *PIDNamespace {
1821 return k.tasks.Root
1822}
1823
1824// RootNetworkNamespace returns the root network namespace, always non-nil.
1825func (k *Kernel) RootNetworkNamespace() *inet.Namespace {

Callers 15

BootFunction · 0.95
ReleaseMethod · 0.95
findContainerInitProcessFunction · 0.80
execAsyncMethod · 0.80
SignalProcessMethod · 0.80
TestFUSEXattrFunction · 0.80
fuseClientRunFunction · 0.80
fuseServerRunFunction · 0.80
TestTasksFunction · 0.80
TestTasksOffsetFunction · 0.80
TestTaskFunction · 0.80
TestProcSelfFunction · 0.80

Calls

no outgoing calls

Tested by 10

TestFUSEXattrFunction · 0.64
fuseClientRunFunction · 0.64
fuseServerRunFunction · 0.64
TestTasksFunction · 0.64
TestTasksOffsetFunction · 0.64
TestTaskFunction · 0.64
TestProcSelfFunction · 0.64
TestTreeFunction · 0.64
TestFdInfoContentFunction · 0.64
TestFdInfoRecursionFunction · 0.64