Skip to content

Commit

Permalink
ntdll: Return success for TokenSessionId in NtSetInformationToken.
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Leslie-Hughes <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
mmueller2012 authored and julliard committed May 18, 2018
1 parent 1f6e34a commit de8d204
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dlls/ntdll/nt.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,20 @@ NTSTATUS WINAPI NtSetInformationToken(
}
SERVER_END_REQ;
break;
case TokenSessionId:
if (TokenInformationLength < sizeof(DWORD))
{
ret = STATUS_INFO_LENGTH_MISMATCH;
break;
}
if (!TokenInformation)
{
ret = STATUS_ACCESS_VIOLATION;
break;
}
FIXME("TokenSessionId stub!\n");
ret = STATUS_SUCCESS;
break;
default:
FIXME("unimplemented class %u\n", TokenInformationClass);
break;
Expand Down

0 comments on commit de8d204

Please sign in to comment.