summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/BUILD
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2019-11-11 09:15:45 +0000
committerHaibo Xu <haibo.xu@arm.com>2019-11-13 06:46:02 +0000
commitc5d9b5b8816e99507661e1d39ec51033fb69e212 (patch)
tree747dfc72c53c5edcf5d24a57647c49e3deaf1f9d /pkg/sentry/fs/host/BUILD
parent2c6c9af904c99371fe4381517375cd114917db59 (diff)
Enable sentry/fs/host 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: Iea95550ea53bcf85c01f7b3b95da70ad0952177d
Diffstat (limited to 'pkg/sentry/fs/host/BUILD')
-rw-r--r--pkg/sentry/fs/host/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/host/BUILD b/pkg/sentry/fs/host/BUILD
index 1cbed07ae..23daeb528 100644
--- a/pkg/sentry/fs/host/BUILD
+++ b/pkg/sentry/fs/host/BUILD
@@ -21,6 +21,8 @@ go_library(
"socket_unsafe.go",
"tty.go",
"util.go",
+ "util_amd64_unsafe.go",
+ "util_arm64_unsafe.go",
"util_unsafe.go",
],
importpath = "gvisor.dev/gvisor/pkg/sentry/fs/host",