Searched refs:TokenFlags (Results 1 – 5 of 5) sorted by relevance
120 ULONG TokenFlags = 0; in SepCreateToken() local148 TokenFlags |= TOKEN_HAS_ADMIN_GROUP; in SepCreateToken()234 AccessToken->TokenFlags = TokenFlags & ~TOKEN_SESSION_NOT_REFERENCED; in SepCreateToken()244 AccessToken->TokenFlags |= TOKEN_SESSION_NOT_REFERENCED; in SepCreateToken()551 AccessToken->TokenFlags = Token->TokenFlags & ~TOKEN_SESSION_NOT_REFERENCED; in SepDuplicateToken()560 AccessToken->TokenFlags |= TOKEN_SESSION_NOT_REFERENCED; in SepDuplicateToken()744 AccessToken->TokenFlags &= ~TOKEN_HAS_ADMIN_GROUP; in SepDuplicateToken()992 AccessToken->TokenFlags = Token->TokenFlags & ~TOKEN_SESSION_NOT_REFERENCED;1000 AccessToken->TokenFlags |= TOKEN_SESSION_NOT_REFERENCED;1157 AccessToken->TokenFlags |= TOKEN_IS_RESTRICTED;[all …]
482 Token->TokenFlags |= TokenFlag; in SepUpdateSinglePrivilegeFlagToken()487 Token->TokenFlags &= ~TokenFlag; in SepUpdateSinglePrivilegeFlagToken()529 if ((Result) && (Token->TokenFlags & TOKEN_IS_RESTRICTED)) in SepTokenIsOwner()1588 return (((PTOKEN)Token)->TokenFlags & TOKEN_SANDBOX_INERT) != 0; in SeTokenIsInert()1626 if ((AccessToken->TokenFlags & TOKEN_SESSION_NOT_REFERENCED) == 0) in SepDeleteToken()2110 return (((PTOKEN)Token)->TokenFlags & TOKEN_HAS_ADMIN_GROUP) != 0; in SeTokenIsAdmin()2131 return (((PTOKEN)Token)->TokenFlags & TOKEN_IS_RESTRICTED) != 0; in SeTokenIsRestricted()2158 return (((PTOKEN)Token)->TokenFlags & SE_BACKUP_PRIVILEGES_CHECKED) != 0; in SeTokenIsWriteRestricted()2243 if ((ProcessToken->TokenFlags & TOKEN_HAS_IMPERSONATE_PRIVILEGE) != 0) in SeTokenCanImpersonate()
84 if (Token->TokenFlags & TOKEN_HAS_TRAVERSE_PRIVILEGE) in SeCreateAccessStateEx()
1540 OldTokenFlags = RtlInterlockedSetBits(&Token->TokenFlags, in NtSetInformationToken()1547 if (OldTokenFlags == Token->TokenFlags) in NtSetInformationToken()
241 ULONG TokenFlags; /* 0x88 */ member