[PATCH v2 0/1] MR4634: ntdll: Support Ctrl-C stop debuggee and attach 32-bit process in wow64 mode.
Signed-off-by: chenjiangyi <chenjiangyi(a)uniontech.com> -- v2: wow64: Add TokenIntegrityLevel surpport to wow64_NtSetInformationToken as NtSetInformationToken does. https://gitlab.winehq.org/wine/wine/-/merge_requests/4634
From: chenjiangyi <chenjiangyi(a)uniontech.com> Description: synchronize wow64_NtSetInformationToken and NtSetInformationToken.Avoid crash of some application due to TokenIntegrityLevel failure in wow64 mode. Signed-off-by: chenjiangyi <chenjiangyi(a)uniontech.com> Change-Id: I556ab5cc6531dfab2c404e6769e053f42ada70a7 --- dlls/wow64/security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wow64/security.c b/dlls/wow64/security.c index 1a3d98fccee..adfad886e54 100644 --- a/dlls/wow64/security.c +++ b/dlls/wow64/security.c @@ -522,6 +522,7 @@ NTSTATUS WINAPI wow64_NtSetInformationToken( UINT *args ) switch (class) { case TokenSessionId: /* ULONG */ + case TokenIntegrityLevel: return NtSetInformationToken( handle, class, ptr, len ); case TokenDefaultDacl: /* TOKEN_DEFAULT_DACL */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4634
This merge request was closed by JiangYi Chen. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4634
participants (2)
-
chenjiangyi -
JiangYi Chen (@meshine)