mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
29 lines
987 B
Diff
29 lines
987 B
Diff
From 2873f540b5334e1562b1b2f0f537ee5a27b23592 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
|
Date: Sun, 19 Mar 2017 19:08:34 +0100
|
|
Subject: [PATCH] ntdll: Catch windows int 0x2e syscall on i386.
|
|
|
|
---
|
|
dlls/ntdll/signal_i386.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
|
|
index 8d1c59150..ca2c67333 100644
|
|
--- a/dlls/ntdll/signal_i386.c
|
|
+++ b/dlls/ntdll/signal_i386.c
|
|
@@ -1946,6 +1946,11 @@ static BOOL handle_interrupt( unsigned int interrupt, ucontext_t *sigcontext, st
|
|
stack->rec.ExceptionInformation[2] = stack->context.Edx;
|
|
setup_raise_exception( sigcontext, stack );
|
|
return TRUE;
|
|
+ case 0x2e:
|
|
+ FIXME("unimplemented syscall handler for %#lx\n", stack->context.Eax);
|
|
+ EAX_sig(sigcontext) = STATUS_INVALID_SYSTEM_SERVICE;
|
|
+ EIP_sig(sigcontext) += 2;
|
|
+ return TRUE;
|
|
default:
|
|
return FALSE;
|
|
}
|
|
--
|
|
2.23.0
|
|
|