Skip to content

Commit

Permalink
Linux/Syscalls: Add todo for futimesat
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed Sep 9, 2024
1 parent eaaf62e commit 28fd3d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 28fd3d7

Please sign in to comment.