summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/BUILD
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2019-10-30 03:06:34 +0000
committerHaibo Xu <haibo.xu@arm.com>2019-10-30 05:21:36 +0000
commit80d0db274ef88f4c53d2d08df52c0f9c58ca53ac (patch)
treeee10c89b2aada2f623d1c741712d3fdddac19e0f /runsc/fsgofer/BUILD
parentdc21c5ca16dbc43755185ffdf53764c7bb4c3a12 (diff)
Enable runsc/fsgofer support on arm64.
newfstatat() syscall is not supported on arm64, so we resort to use the fstatat() syscall. Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: I9e89d46c5ec9ae07db201c9da5b6dda9bfd2eaf0
Diffstat (limited to 'runsc/fsgofer/BUILD')
-rw-r--r--runsc/fsgofer/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/runsc/fsgofer/BUILD b/runsc/fsgofer/BUILD
index 80a4aa2fe..afcb41801 100644
--- a/runsc/fsgofer/BUILD
+++ b/runsc/fsgofer/BUILD
@@ -6,6 +6,8 @@ go_library(
name = "fsgofer",
srcs = [
"fsgofer.go",
+ "fsgofer_amd64_unsafe.go",
+ "fsgofer_arm64_unsafe.go",
"fsgofer_unsafe.go",
],
importpath = "gvisor.dev/gvisor/runsc/fsgofer",