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

Method MemoryFile

pkg/sentry/kernel/kernel.go:1938–1940  ·  view source on GitHub ↗

MemoryFile returns the MemoryFile that provides application memory.

()

Source from the content-addressed store, hash-verified

1936
1937// MemoryFile returns the MemoryFile that provides application memory.
1938func (k *Kernel) MemoryFile() *pgalloc.MemoryFile {
1939 return k.mf
1940}
1941
1942// SupervisorContext returns a Context with maximum privileges in k. It should
1943// only be used by goroutines outside the control of the emulated kernel

Callers 11

BootFunction · 0.95
UsageFDMethod · 0.80
CollectMethod · 0.80
ReduceMethod · 0.80
SysinfoFunction · 0.80
getUsageFunction · 0.80
CreateTaskFunction · 0.80
GenerateMethod · 0.80
emitMethod · 0.80
NewFunction · 0.80
EventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected