From 99187a2d229a46ea8c9408f01bebfc306d207e20 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 12 Aug 2024 21:22:23 +0200 Subject: Added (fake) syscall 175 to libs syscall --- src/emu/x64syscall.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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); -- cgit 1.4.1