Home
last modified time | relevance | path

Searched refs:ImpersonationLevel (Results 1 – 25 of 55) sorted by relevance

123

/reactos/ntoskrnl/se/
H A Dclient.c59 _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 Dtoken.c1178 _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 Dtokenlif.c103 _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 Daudit.c686 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 Dtokencls.c372 *sil = Token->ImpersonationLevel;
399 ts->ImpersonationLevel = Token->ImpersonationLevel;
822 *sil = Token->ImpersonationLevel; in NtQueryInformationToken()
855 ts->ImpersonationLevel = Token->ImpersonationLevel; in NtQueryInformationToken()
H A Dsubject.c65 … &SubjectContext->ImpersonationLevel); in SeCaptureSubjectContextEx()
H A Dpriv.c714 if (SubjectContext->ImpersonationLevel < 2) in SePrivilegeCheck()
942 Token->ImpersonationLevel < SecurityIdentification) in NtPrivilegeCheck()
/reactos/ntoskrnl/ps/
H A Dsecurity.c506 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 Dfxrequestum.cpp227 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, in Impersonate() argument
247 hr = irp->ImpersonateRequestorProcess(ImpersonationLevel); in Impersonate()
H A Dfxrequestapium.cpp39 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 DDuplicateTokenEx.c51 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 Dpriv.c45 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 Dsetypes.h80 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member
240 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; /* 0x84 */ member
/reactos/sdk/include/xdk/
H A Dpsfuncs.h156 _Out_ PSECURITY_IMPERSONATION_LEVEL ImpersonationLevel);
181 _In_ SECURITY_IMPERSONATION_LEVEL ImpersonationLevel);
H A Dsetypes.h110 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 Dlsalpc.c69 SecurityQos.ImpersonationLevel = SecurityIdentification; in LsapOpenLsaPort()
170 SecurityQos.ImpersonationLevel = SecurityIdentification; in LsaConnectUntrusted()
/reactos/ntoskrnl/ob/
H A Ddevicemap.c335 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in ObpReferenceDeviceMap() local
350 &ImpersonationLevel); in ObpReferenceDeviceMap()
/reactos/drivers/filesystems/npfs/
H A Dsecursup.c97 Ccb->ClientQos.ImpersonationLevel = SecurityImpersonation; in NpInitializeSecurity()
/reactos/modules/rostests/apitests/ntdll/
H A DNtAccessCheck.c30 Sqos.ImpersonationLevel = SecurityImpersonation; in GetToken()
/reactos/base/services/svchost/
H A Dsvchost.c238 pOptions->ImpersonationLevel = RPC_C_IMP_LEVEL_IDENTIFY; in ReadPerInstanceRegistryParameters()
242 pOptions->ImpersonationLevel = dwData; in ReadPerInstanceRegistryParameters()
1212 pOptions->ImpersonationLevel, in CallPerInstanceInitFunctions()
H A Dsvchost.h82 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; member
/reactos/sdk/lib/smlib/
H A Dsmclient.c70 SecurityQos.ImpersonationLevel = SecurityIdentification; in SmConnectToSm()
/reactos/win32ss/user/ntuser/
H A Dmisc.c822 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel; in GetProcessLuid() local
839 &ImpersonationLevel); in GetProcessLuid()
/reactos/dll/win32/advapi32/wine/
H A Dsecurity.c1631 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 Dsrm.c210 SecurityQos.ImpersonationLevel = SecurityIdentification; in LsapRmInitializeServer()

123