https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0ef734dba4d2a9d4fc8d3e...
commit 0ef734dba4d2a9d4fc8d3ece62a96cca3e49127c Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Mon Jun 25 15:31:15 2018 +0200 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Wed Jun 27 23:40:14 2018 +0200
[FORMATTING] No code change; typo fix. --- ntoskrnl/se/access.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/ntoskrnl/se/access.c b/ntoskrnl/se/access.c index cc87da8160..4d24839592 100644 --- a/ntoskrnl/se/access.c +++ b/ntoskrnl/se/access.c @@ -162,7 +162,7 @@ SeGetTokenControlInformation(IN PACCESS_TOKEN _Token, /* Lock the token */ SepAcquireTokenLockShared(Token);
- /* Capture the modified it */ + /* Capture the modified ID */ TokenControl->ModifiedId = Token->ModifiedId;
/* Unlock it */ @@ -215,8 +215,8 @@ SepCreateClientSecurity(IN PACCESS_TOKEN Token, }
/* Pick either the thread setting or the QOS setting */ - ClientContext->DirectAccessEffectiveOnly = ((ThreadEffectiveOnly) || - (ClientSecurityQos->EffectiveOnly)) ? TRUE : FALSE; + ClientContext->DirectAccessEffectiveOnly = + ((ThreadEffectiveOnly) || (ClientSecurityQos->EffectiveOnly)) ? TRUE : FALSE; }
/* Is this static tracking */ @@ -224,8 +224,12 @@ SepCreateClientSecurity(IN PACCESS_TOKEN Token, { /* Do not use direct access and make a copy */ ClientContext->DirectlyAccessClientToken = FALSE; - Status = SeCopyClientToken(Token, ImpersonationLevel, 0, &NewToken); - if (!NT_SUCCESS(Status)) return Status; + Status = SeCopyClientToken(Token, + ImpersonationLevel, + 0, + &NewToken); + if (!NT_SUCCESS(Status)) + return Status; } else {