mirror of
https://github.com/reactos/reactos.git
synced 2025-05-11 13:27:47 +00:00
[FORMATTING] No code change; typo fix.
This commit is contained in:
parent
5b2dda9134
commit
0ef734dba4
1 changed files with 9 additions and 5 deletions
|
@ -162,7 +162,7 @@ SeGetTokenControlInformation(IN PACCESS_TOKEN _Token,
|
||||||
/* Lock the token */
|
/* Lock the token */
|
||||||
SepAcquireTokenLockShared(Token);
|
SepAcquireTokenLockShared(Token);
|
||||||
|
|
||||||
/* Capture the modified it */
|
/* Capture the modified ID */
|
||||||
TokenControl->ModifiedId = Token->ModifiedId;
|
TokenControl->ModifiedId = Token->ModifiedId;
|
||||||
|
|
||||||
/* Unlock it */
|
/* Unlock it */
|
||||||
|
@ -215,8 +215,8 @@ SepCreateClientSecurity(IN PACCESS_TOKEN Token,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pick either the thread setting or the QOS setting */
|
/* Pick either the thread setting or the QOS setting */
|
||||||
ClientContext->DirectAccessEffectiveOnly = ((ThreadEffectiveOnly) ||
|
ClientContext->DirectAccessEffectiveOnly =
|
||||||
(ClientSecurityQos->EffectiveOnly)) ? TRUE : FALSE;
|
((ThreadEffectiveOnly) || (ClientSecurityQos->EffectiveOnly)) ? TRUE : FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Is this static tracking */
|
/* Is this static tracking */
|
||||||
|
@ -224,8 +224,12 @@ SepCreateClientSecurity(IN PACCESS_TOKEN Token,
|
||||||
{
|
{
|
||||||
/* Do not use direct access and make a copy */
|
/* Do not use direct access and make a copy */
|
||||||
ClientContext->DirectlyAccessClientToken = FALSE;
|
ClientContext->DirectlyAccessClientToken = FALSE;
|
||||||
Status = SeCopyClientToken(Token, ImpersonationLevel, 0, &NewToken);
|
Status = SeCopyClientToken(Token,
|
||||||
if (!NT_SUCCESS(Status)) return Status;
|
ImpersonationLevel,
|
||||||
|
0,
|
||||||
|
&NewToken);
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
return Status;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue