From 6e46383cdb96e983f2951dd2aa83118b18b5c6cc Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Tue, 27 Aug 2024 02:54:27 -0700 Subject: [PATCH] x32/Signals: Fixes bug in the sigqueue syscalls In rt_sigqueueinfo and rt_tgsigqueueinfo we were failiny to pass along the provided siginfo_t information to the syscall. Fix that --- Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Signals.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Signals.cpp b/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Signals.cpp index 456b1f697c..e88add950b 100644 --- a/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Signals.cpp +++ b/Source/Tools/LinuxEmulation/LinuxSyscalls/x32/Signals.cpp @@ -226,6 +226,7 @@ void RegisterSignals(FEX::HLE::SyscallHandler* Handler) { siginfo_t* info64_p {}; if (info) { + info64 = *info; info64_p = &info64; } @@ -239,6 +240,7 @@ void RegisterSignals(FEX::HLE::SyscallHandler* Handler) { siginfo_t* info64_p {}; if (info) { + info64 = *info; info64_p = &info64; }