From 28fd3d79038a6524b9aa23c2ac4bb93a5983463e Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 8 Sep 2024 17:56:14 -0700 Subject: [PATCH] Linux/Syscalls: Add todo for futimesat --- Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Time.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Time.cpp b/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Time.cpp index 6a84efdf2c..cd2378a35a 100644 --- a/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Time.cpp +++ b/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Time.cpp @@ -186,6 +186,7 @@ void RegisterTime(FEX::HLE::SyscallHandler* Handler) { }); REGISTER_SYSCALL_IMPL_X32(futimesat, [](FEXCore::Core::CpuStateFrame* Frame, int dirfd, const char* pathname, const timeval32 times[2]) -> uint64_t { + // TODO: This will always return ENOSYS on Arm64 since `futimesat` doesn't exist on that platform. uint64_t Result = 0; if (times) { FaultSafeUserMemAccess::VerifyIsReadable(times, sizeof(timeval32) * 2);