about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-08-12 21:22:23 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-08-12 21:22:23 +0200
commit99187a2d229a46ea8c9408f01bebfc306d207e20 (patch)
treecccd4cb47aeb9df323490d355192083363c3e3ff /src
parent8974caf1623718ec8a061ca50859a425ec8c0fc0 (diff)
downloadbox64-99187a2d229a46ea8c9408f01bebfc306d207e20.tar.gz
box64-99187a2d229a46ea8c9408f01bebfc306d207e20.zip
Added (fake) syscall 175 to libs syscall
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64syscall.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c
index 02b18598..756226ab 100644
--- a/src/emu/x64syscall.c
+++ b/src/emu/x64syscall.c
@@ -1031,6 +1031,10 @@ long EXPORT my_syscall(x64emu_t *emu)
         case 160:
             return setrlimit(S_ESI, (void*)R_RDX);
         #endif
+        case 175: // sys_init_module
+            // huh?
+            errno = -EPERM;
+            return -1;
         #ifndef __NR_time
         case 201: // sys_time
             return (intptr_t)time((void*)R_RSI);