MCPcopy Index your code
hub / github.com/google/gvisor / Root

Method Root

pkg/sentry/kernel/threads.go:416–418  ·  view source on GitHub ↗

Root returns the root PID namespace of ns.

()

Source from the content-addressed store, hash-verified

414
415// Root returns the root PID namespace of ns.
416func (ns *PIDNamespace) Root() *PIDNamespace {
417 return ns.owner.Root
418}
419
420// A threadGroupNode defines the relationship between a thread group and the
421// rest of the system. Conceptually, threadGroupNode is data belonging to the

Callers 6

ValueMethod · 0.45
CreateProcessMethod · 0.45
ValueMethod · 0.45
SetnsMethod · 0.45
IsChrootedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected