diff options
author | Haibo Xu <haibo.xu@arm.com> | 2020-01-16 10:26:23 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-16 10:28:11 -0800 |
commit | 420d335fc9495ec18a20f710869770d0708d9a49 (patch) | |
tree | 29ac2146d1f20e6644d47225bc4467049b84bd81 /pkg/sentry/syscalls/linux/BUILD | |
parent | a7a1f00425c6a742a0c953ae3cb6de513011d41b (diff) |
Enable clone syscall support on arm64.
sys_clone has many flavors in Linux, and amd64 chose
a different one from x86(different arguments order).
Ref kernel/fork.c for more info.
Signed-off-by: Haibo Xu <haibo.xu@arm.com>
Change-Id: I6c8cbc685f4a6e786b171715ab68292fc95cbf48
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/1545 from xiaobo55x:clone 156bd2dfbc63ef5291627b0578ddea77997393b2
PiperOrigin-RevId: 290093953
Diffstat (limited to 'pkg/sentry/syscalls/linux/BUILD')
-rw-r--r-- | pkg/sentry/syscalls/linux/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/syscalls/linux/BUILD b/pkg/sentry/syscalls/linux/BUILD index aa05e208a..430d796ba 100644 --- a/pkg/sentry/syscalls/linux/BUILD +++ b/pkg/sentry/syscalls/linux/BUILD @@ -13,6 +13,8 @@ go_library( "sigset.go", "sys_aio.go", "sys_capability.go", + "sys_clone_amd64.go", + "sys_clone_arm64.go", "sys_epoll.go", "sys_eventfd.go", "sys_file.go", |