From 6adfd7ba3adb832f864bebe4bbc5c9f567c4e4d1 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 21 Feb 2024 12:21:16 -0800 Subject: [PATCH] Define SYS_statx for RISC-V PiperOrigin-RevId: 609083269 --- test/syscalls/linux/stat.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/syscalls/linux/stat.cc b/test/syscalls/linux/stat.cc index 8c3a9042d..cebaf8ae5 100644 --- a/test/syscalls/linux/stat.cc +++ b/test/syscalls/linux/stat.cc @@ -635,6 +635,8 @@ TEST(SimpleStatTest, AnonDeviceAllocatesUniqueInodesAcrossSaveRestore) { #define SYS_statx 332 #elif defined(__aarch64__) #define SYS_statx 291 +#elif defined(__riscv) +#define SYS_statx 291 #else #error "Unknown architecture" #endif