summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/stat.cc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-30 16:12:25 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-30 16:12:25 -0800
commitaf8f6f83a32f0128abd8bbf3eb6302078e447a7b (patch)
treec15332205a316f8aa71f1d07b5d5f66a620b025d /test/syscalls/linux/stat.cc
parent9988cf2eeff596ce519046d80c54d09166f7d84b (diff)
parent82ae857877fdf3492f40bca87657a07892c3f59b (diff)
Merge pull request #1471 from xiaobo55x:syscall_test
PiperOrigin-RevId: 292445329
Diffstat (limited to 'test/syscalls/linux/stat.cc')
-rw-r--r--test/syscalls/linux/stat.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/syscalls/linux/stat.cc b/test/syscalls/linux/stat.cc
index 388d75835..c951ac3b3 100644
--- a/test/syscalls/linux/stat.cc
+++ b/test/syscalls/linux/stat.cc
@@ -557,6 +557,8 @@ TEST(SimpleStatTest, AnonDeviceAllocatesUniqueInodesAcrossSaveRestore) {
#ifndef SYS_statx
#if defined(__x86_64__)
#define SYS_statx 332
+#elif defined(__aarch64__)
+#define SYS_statx 291
#else
#error "Unknown architecture"
#endif