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

Method SyscallTable

pkg/sentry/kernel/task_image.go:120–122  ·  view source on GitHub ↗

SyscallTable returns t's syscall table. Preconditions: The caller must be running on the task goroutine, or t.mu must be locked.

()

Source from the content-addressed store, hash-verified

118// Preconditions: The caller must be running on the task goroutine, or t.mu
119// must be locked.
120func (t *Task) SyscallTable() *SyscallTable {
121 return t.image.st
122}
123
124// Stack returns the userspace stack.
125//

Callers 5

invokeExternalMethod · 0.95
executeSyscallMethod · 0.95
UnameFunction · 0.80
kernelVersionFunction · 0.80
seccompSiginfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected