summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/arch.go
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2020-03-11 03:21:34 +0000
committerHaibo Xu <haibo.xu@arm.com>2020-04-10 10:00:26 +0800
commit7aa5caae71c29b0be9047a7c156a9daaa435ebb8 (patch)
tree7fce4ff53876845a4eacd4a1300611ec85276710 /pkg/sentry/arch/arch.go
parentc560bfd1a8cd61c869e180c6cc7bb917fc29e92e (diff)
Enable syscall ptrace test on arm64.
Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: I5bb8fa7d580d173b1438d6465e1adb442216c8fa
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