summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/arch.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-13 21:22:36 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-13 21:22:36 +0000
commit4ecfb10d3489c33de488eebf1b4d7f72b96c8800 (patch)
treee01d940661dfcf480d64602985261649f7f56ac3 /pkg/sentry/arch/arch.go
parent177e29429d0118710eee48f77f7dbc7eb9c9f4e7 (diff)
parent7e5d67ee90867ba3a2cc0bf1abc59a6c0a47203b (diff)
Merge release-20200323.0-144-g7e5d67e (automated)
Diffstat (limited to 'pkg/sentry/arch/arch.go')
-rw-r--r--pkg/sentry/arch/arch.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/arch/arch.go b/pkg/sentry/arch/arch.go
index 1d11cc472..a903d031c 100644
--- a/pkg/sentry/arch/arch.go
+++ b/pkg/sentry/arch/arch.go
@@ -88,6 +88,9 @@ type Context interface {
// SyscallNo returns the syscall number.
SyscallNo() uintptr
+ // SyscallSaveOrig save orignal register value.
+ SyscallSaveOrig()
+
// SyscallArgs returns the syscall arguments in an array.
SyscallArgs() SyscallArguments