[PATCH] ntdll: Return SessionId 1 in NtQueryInformationToken(TokenSessionId).
Gijs Vermeulen
gijsvrm at gmail.com
Mon Jun 28 04:08:47 CDT 2021
From: Alexander Gabello <alexandergabello at mail.weber.edu>
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46595
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
---
dlls/ntdll/unix/security.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/security.c b/dlls/ntdll/unix/security.c
index 6a088e84e4d..8c40ea03d8e 100644
--- a/dlls/ntdll/unix/security.c
+++ b/dlls/ntdll/unix/security.c
@@ -419,7 +419,7 @@ NTSTATUS WINAPI NtQueryInformationToken( HANDLE token, TOKEN_INFORMATION_CLASS c
case TokenSessionId:
{
- *(DWORD *)info = 0;
+ *(DWORD *)info = 1;
FIXME("QueryInformationToken( ..., TokenSessionId, ...) semi-stub\n");
}
break;
--
2.32.0
More information about the wine-devel
mailing list