/reactos/ntoskrnl/se/ |
H A D | client.c | 59 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in SepCreateClientSecurity() argument 67 if (!VALID_IMPERSONATION_LEVEL(ClientSecurityQos->ImpersonationLevel)) in SepCreateClientSecurity() 82 if (ClientSecurityQos->ImpersonationLevel > ImpersonationLevel) in SepCreateClientSecurity() 89 if ((ImpersonationLevel == SecurityAnonymous) || in SepCreateClientSecurity() 90 (ImpersonationLevel == SecurityIdentification) || in SepCreateClientSecurity() 108 ClientSecurityQos->ImpersonationLevel, in SepCreateClientSecurity() 131 ClientContext->SecurityQos.ImpersonationLevel = ClientSecurityQos->ImpersonationLevel; in SepCreateClientSecurity() 170 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in SeCreateClientSecurity() local 179 &ImpersonationLevel); in SeCreateClientSecurity() 187 ImpersonationLevel, in SeCreateClientSecurity() [all …]
|
H A D | token.c | 1178 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in SepOpenThreadToken() argument 1302 ImpersonationLevel, in SepOpenThreadToken() 1389 ParentToken->ImpersonationLevel, in SeSubProcessToken() 2064 return ((PTOKEN)Token)->ImpersonationLevel; in SeTokenImpersonationLevel() 2210 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel) in SeTokenCanImpersonate() argument 2219 if (ImpersonationLevel < SecurityIdentification) in SeTokenCanImpersonate() 2254 if (ImpersonationLevel > TokenToImpersonate->ImpersonationLevel) in SeTokenCanImpersonate() 2342 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in NtOpenThreadTokenEx() local 2385 &ImpersonationLevel); in NtOpenThreadTokenEx() 2394 if (ImpersonationLevel == SecurityAnonymous) in NtOpenThreadTokenEx() [all …]
|
H A D | tokenlif.c | 103 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in SepCreateToken() argument 218 AccessToken->ImpersonationLevel = ImpersonationLevel; in SepCreateToken() 523 AccessToken->ImpersonationLevel = Level; in SepDuplicateToken() 975 AccessToken->ImpersonationLevel = Token->ImpersonationLevel; 1788 LocalSecurityQos.ImpersonationLevel, in NtCreateToken() 1945 CapturedSecurityQualityOfService->ImpersonationLevel >Token->ImpersonationLevel) in NtDuplicateToken() 1961 Token->ImpersonationLevel < SecurityImpersonation) in NtDuplicateToken() 1974 … (QoSPresent ? CapturedSecurityQualityOfService->ImpersonationLevel : SecurityAnonymous), in NtDuplicateToken()
|
H A D | audit.c | 686 if (SubjectContext.ImpersonationLevel < SecurityIdentification) in SepAccessCheckAndAuditAlarm() 690 SubjectContext.ImpersonationLevel); in SepAccessCheckAndAuditAlarm() 1369 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in NtCloseObjectAuditAlarm() local 1414 &ImpersonationLevel); in NtCloseObjectAuditAlarm() 1677 (ClientToken->ImpersonationLevel < SecurityIdentification)) in NtOpenObjectAuditAlarm() 1679 DPRINT1("Invalid impersonation level (%u)\n", ClientToken->ImpersonationLevel); in NtOpenObjectAuditAlarm() 1922 (ClientToken->ImpersonationLevel < SecurityIdentification)) in NtPrivilegedServiceAuditAlarm() 1924 DPRINT1("Invalid impersonation level (%u)\n", ClientToken->ImpersonationLevel); in NtPrivilegedServiceAuditAlarm()
|
H A D | tokencls.c | 372 *sil = Token->ImpersonationLevel; 399 ts->ImpersonationLevel = Token->ImpersonationLevel; 822 *sil = Token->ImpersonationLevel; in NtQueryInformationToken() 855 ts->ImpersonationLevel = Token->ImpersonationLevel; in NtQueryInformationToken()
|
H A D | subject.c | 65 … &SubjectContext->ImpersonationLevel); in SeCaptureSubjectContextEx()
|
H A D | priv.c | 714 if (SubjectContext->ImpersonationLevel < 2) in SePrivilegeCheck() 942 Token->ImpersonationLevel < SecurityIdentification) in NtPrivilegeCheck()
|
/reactos/ntoskrnl/ps/ |
H A D | security.c | 506 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in PsAssignImpersonationToken() local 537 ImpersonationLevel = SeTokenImpersonationLevel(Token); in PsAssignImpersonationToken() 544 ImpersonationLevel); in PsAssignImpersonationToken() 614 IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel) in PsImpersonateClient() argument 696 ImpersonationLevel)) in PsImpersonateClient() 716 ImpersonationLevel = SecurityIdentification; in PsImpersonateClient() 774 Impersonation->ImpersonationLevel = ImpersonationLevel; in PsImpersonateClient() 832 *ImpersonationLevel = Thread->ImpersonationInfo->ImpersonationLevel; in PsReferenceEffectiveToken() 891 *ImpersonationLevel = Thread->ImpersonationInfo->ImpersonationLevel; in PsReferenceImpersonationToken() 964 ImpersonationState->Level = Impersonation->ImpersonationLevel; in PsDisableImpersonation() [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/core/um/ |
H A D | fxrequestum.cpp | 227 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in Impersonate() argument 247 hr = irp->ImpersonateRequestorProcess(ImpersonationLevel); in Impersonate()
|
H A D | fxrequestapium.cpp | 39 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in _IRQL_requires_max_() 84 if (VALID_IMPERSONATION_LEVEL(ImpersonationLevel) == FALSE) { in _IRQL_requires_max_() 108 status = pRequest->Impersonate(ImpersonationLevel, in _IRQL_requires_max_()
|
/reactos/modules/rostests/apitests/advapi32/ |
H A D | DuplicateTokenEx.c | 51 ok(TokenDupStats.ImpersonationLevel == SecurityImpersonation, in START_TEST() 52 "Duplicate token impersonation level is %d.\n", TokenDupStats.ImpersonationLevel); in START_TEST()
|
/reactos/sdk/lib/rtl/ |
H A D | priv.c | 45 RtlImpersonateSelf(IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel) in RtlImpersonateSelf() argument 65 Sqos.ImpersonationLevel = ImpersonationLevel; in RtlImpersonateSelf() 220 Sqos.ImpersonationLevel = SecurityDelegation; in RtlAcquirePrivilege()
|
/reactos/sdk/include/ndk/ |
H A D | setypes.h | 80 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member 240 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; /* 0x84 */ member
|
/reactos/sdk/include/xdk/ |
H A D | psfuncs.h | 156 _Out_ PSECURITY_IMPERSONATION_LEVEL ImpersonationLevel); 181 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel);
|
H A D | setypes.h | 110 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member 219 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member 1090 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member 1173 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member
|
/reactos/dll/win32/secur32/ |
H A D | lsalpc.c | 69 SecurityQos.ImpersonationLevel = SecurityIdentification; in LsapOpenLsaPort() 170 SecurityQos.ImpersonationLevel = SecurityIdentification; in LsaConnectUntrusted()
|
/reactos/ntoskrnl/ob/ |
H A D | devicemap.c | 335 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in ObpReferenceDeviceMap() local 350 &ImpersonationLevel); in ObpReferenceDeviceMap()
|
/reactos/drivers/filesystems/npfs/ |
H A D | secursup.c | 97 Ccb->ClientQos.ImpersonationLevel = SecurityImpersonation; in NpInitializeSecurity()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | NtAccessCheck.c | 30 Sqos.ImpersonationLevel = SecurityImpersonation; in GetToken()
|
/reactos/base/services/svchost/ |
H A D | svchost.c | 238 pOptions->ImpersonationLevel = RPC_C_IMP_LEVEL_IDENTIFY; in ReadPerInstanceRegistryParameters() 242 pOptions->ImpersonationLevel = dwData; in ReadPerInstanceRegistryParameters() 1212 pOptions->ImpersonationLevel, in CallPerInstanceInitFunctions()
|
H A D | svchost.h | 82 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member
|
/reactos/sdk/lib/smlib/ |
H A D | smclient.c | 70 SecurityQos.ImpersonationLevel = SecurityIdentification; in SmConnectToSm()
|
/reactos/win32ss/user/ntuser/ |
H A D | misc.c | 822 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in GetProcessLuid() local 839 &ImpersonationLevel); in GetProcessLuid()
|
/reactos/dll/win32/advapi32/wine/ |
H A D | security.c | 1631 ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel) in ImpersonateSelf() argument 1635 Status = RtlImpersonateSelf(ImpersonationLevel); in ImpersonateSelf() 3862 IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in DuplicateTokenEx() argument 3871 ImpersonationLevel, TokenType, DuplicateTokenHandle); in DuplicateTokenEx() 3874 Sqos.ImpersonationLevel = ImpersonationLevel; in DuplicateTokenEx() 3920 IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in DuplicateToken() argument 3926 ImpersonationLevel, in DuplicateToken()
|
/reactos/dll/win32/lsasrv/ |
H A D | srm.c | 210 SecurityQos.ImpersonationLevel = SecurityIdentification; in LsapRmInitializeServer()
|