summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/syscalls.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-09 13:58:24 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-09 13:58:24 -0800
commitee3158f713b29e6848dc326225c17ec039cb136b (patch)
treed80fab07d3560ec50c8cf633362a484a8a15fb5a /pkg/sentry/strace/syscalls.go
parent8643933d6e58492cbe9d5c78124873ab40f65feb (diff)
parentcb533f18cbb93e3f236ba191d1693e93716313b5 (diff)
Merge pull request #1423 from xiaobo55x:strace
PiperOrigin-RevId: 288965915
Diffstat (limited to 'pkg/sentry/strace/syscalls.go')
-rw-r--r--pkg/sentry/strace/syscalls.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/pkg/sentry/strace/syscalls.go b/pkg/sentry/strace/syscalls.go
index e5d486c4e..24e29a2ba 100644
--- a/pkg/sentry/strace/syscalls.go
+++ b/pkg/sentry/strace/syscalls.go
@@ -250,14 +250,7 @@ type syscallTable struct {
syscalls SyscallMap
}
-// syscallTables contains all syscall tables.
-var syscallTables = []syscallTable{
- {
- os: abi.Linux,
- arch: arch.AMD64,
- syscalls: linuxAMD64,
- },
-}
+var syscallTables []syscallTable
// Lookup returns the SyscallMap for the OS/Arch combination. The returned map
// must not be changed.