[PATCH 0/1] MR5440: wow64: Add TokenIntegrityLevel surpport to wow64_NtSetInformationToken as...
wow64: Add TokenIntegrityLevel surpport to wow64_NtSetInformationToken as NtSetInformationToken does. 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 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5440
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/5440
This merge request was closed by Alexandre Julliard. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5440
Superseded by 6c5d17af07a318d754c0c21023b2d162a0d3725d. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5440#note_86752
participants (3)
-
Alexandre Julliard (@julliard) -
chenjiangyi -
JiangYi Chen (@meshine)