summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/loader_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/boot/loader_amd64.go')
-rwxr-xr-xrunsc/boot/loader_amd64.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/runsc/boot/loader_amd64.go b/runsc/boot/loader_amd64.go
index b9669f2ac..78df86611 100755
--- a/runsc/boot/loader_amd64.go
+++ b/runsc/boot/loader_amd64.go
@@ -17,11 +17,10 @@
package boot
import (
- "gvisor.dev/gvisor/pkg/sentry/kernel"
"gvisor.dev/gvisor/pkg/sentry/syscalls/linux"
)
func init() {
- // Register the global syscall table.
- kernel.RegisterSyscallTable(linux.AMD64)
+ // Set the global syscall table.
+ syscallTable = linux.AMD64
}