Home
last modified time | relevance | path

Searched refs:SubjectSecurityContext (Results 1 – 17 of 17) sorted by relevance

/reactos/drivers/filesystems/fastfat/
H A Dacchksup.c212 &AccessState->SubjectSecurityContext, in FatCheckManageVolumeAccess()
297 SeLockSubjectContext( &AccessState->SubjectSecurityContext ); in FatExplicitDeviceAccessGranted()
308 if (ARGUMENT_PRESENT( AccessState->SubjectSecurityContext.ClientToken )) { in FatExplicitDeviceAccessGranted()
309 EffectiveToken = &AccessState->SubjectSecurityContext.ClientToken; in FatExplicitDeviceAccessGranted()
311 EffectiveToken = &AccessState->SubjectSecurityContext.PrimaryToken; in FatExplicitDeviceAccessGranted()
319 SeReleaseSubjectContext( &AccessState->SubjectSecurityContext ); in FatExplicitDeviceAccessGranted()
335 &AccessState->SubjectSecurityContext, in FatExplicitDeviceAccessGranted()
351 SeUnlockSubjectContext( &AccessState->SubjectSecurityContext ); in FatExplicitDeviceAccessGranted()
/reactos/modules/rostests/kmtests/ntos_se/
H A DSeQueryInfoToken.c267 SeCaptureSubjectContext(&AccessState->SubjectSecurityContext); in START_TEST()
268 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in START_TEST()
269 Token = SeQuerySubjectContextToken(&AccessState->SubjectSecurityContext); in START_TEST()
316 …ok(SePrivilegeCheck(AuxData->PrivilegesUsed, &(AccessState->SubjectSecurityContext), KernelMode), … in START_TEST()
318 …ok(SePrivilegeCheck(AuxData->PrivilegesUsed, &(AccessState->SubjectSecurityContext), KernelMode), … in START_TEST()
323 …ok(!SePrivilegeCheck(AuxData->PrivilegesUsed, &(AccessState->SubjectSecurityContext), UserMode), "… in START_TEST()
338 &AccessState->SubjectSecurityContext, in START_TEST()
391 …ok(SePrivilegeCheck(AuxData->PrivilegesUsed, &(AccessState->SubjectSecurityContext), UserMode), "S… in START_TEST()
402 &AccessState->SubjectSecurityContext, in START_TEST()
425 SeUnlockSubjectContext(&AccessState->SubjectSecurityContext); in START_TEST()
/reactos/ntoskrnl/ob/
H A Dobsecure.c235 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in ObCheckCreateObjectAccess()
260 SeUnlockSubjectContext(&AccessState->SubjectSecurityContext); in ObCheckCreateObjectAccess()
312 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in ObpCheckTraverseAccess()
316 &AccessState->SubjectSecurityContext, in ObpCheckTraverseAccess()
333 SeUnlockSubjectContext(&AccessState->SubjectSecurityContext); in ObpCheckTraverseAccess()
370 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in ObpCheckObjectReference()
374 &AccessState->SubjectSecurityContext, in ObpCheckObjectReference()
409 SeUnlockSubjectContext(&AccessState->SubjectSecurityContext); in ObpCheckObjectReference()
477 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in ObCheckObjectAccess()
481 &AccessState->SubjectSecurityContext, in ObCheckObjectAccess()
[all …]
H A Dobhandle.c1657 SubjectSecurityContext, in ObpCreateHandle()
/reactos/drivers/filesystems/npfs/
H A Dcreate.c114 PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext; in NpCreateClientEnd() local
130 SubjectSecurityContext = &AccessState->SubjectSecurityContext; in NpCreateClientEnd()
131 SeLockSubjectContext(SubjectSecurityContext); in NpCreateClientEnd()
134 SubjectSecurityContext, in NpCreateClientEnd()
167 SeUnlockSubjectContext(SubjectSecurityContext); in NpCreateClientEnd()
525 PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext; in NpCreateExistingNamedPipe() local
540 SubjectSecurityContext = &AccessState->SubjectSecurityContext; in NpCreateExistingNamedPipe()
541 SeLockSubjectContext(SubjectSecurityContext); in NpCreateExistingNamedPipe()
546 SubjectSecurityContext, in NpCreateExistingNamedPipe()
580 SeUnlockSubjectContext(SubjectSecurityContext); in NpCreateExistingNamedPipe()
[all …]
/reactos/ntoskrnl/se/
H A Daccess.c73 &AccessState->SubjectSecurityContext); in SeCreateAccessStateEx()
81 Token = SeQuerySubjectContextToken(&AccessState->SubjectSecurityContext); in SeCreateAccessStateEx()
175 SeReleaseSubjectContext(&AccessState->SubjectSecurityContext); in SeDeleteAccessState()
H A Daccesschk.c1609 SECURITY_SUBJECT_CONTEXT SubjectSecurityContext; in SepAccessCheck() local
1865 SeCaptureSubjectContext(&SubjectSecurityContext); in SepAccessCheck()
1909 &SubjectSecurityContext.PrimaryToken, in SepAccessCheck()
1924 SeReleaseSubjectContext(&SubjectSecurityContext); in SepAccessCheck()
1996 _In_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext, in SeAccessCheck() argument
2041 if ((SubjectSecurityContext->ClientToken) && in SeAccessCheck()
2050 SeLockSubjectContext(SubjectSecurityContext); in SeAccessCheck()
2055 PACCESS_TOKEN Token = SubjectSecurityContext->ClientToken ? in SeAccessCheck()
2056 SubjectSecurityContext->ClientToken : SubjectSecurityContext->PrimaryToken; in SeAccessCheck()
2090 SubjectSecurityContext->ClientToken, in SeAccessCheck()
[all …]
H A Daudit.c1026 _In_opt_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext) in SeAuditingFileEventsWithContext() argument
1083 _In_opt_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext) in SeAuditingHardLinkEventsWithContext() argument
1114 _In_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext) in SeAuditingFileOrGlobalEvents() argument
/reactos/sdk/include/xdk/
H A Dsefuncs.h13 _In_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext,
272 _In_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext);
349 _In_opt_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext);
357 _In_opt_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext);
509 _In_opt_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext,
H A Dsetypes.h234 SECURITY_SUBJECT_CONTEXT SubjectSecurityContext; member
/reactos/ntoskrnl/io/iomgr/
H A Dfile.c78 SubjectSecurityContext, in IopCheckBackupRestorePrivilege()
111 &AccessState->SubjectSecurityContext, in IopCheckBackupRestorePrivilege()
460 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in IopParseDevice()
466 &AccessState->SubjectSecurityContext, in IopParseDevice()
534 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in IopParseDevice()
540 &AccessState->SubjectSecurityContext, in IopParseDevice()
574 SeUnlockSubjectContext(&AccessState->SubjectSecurityContext); in IopParseDevice()
688 SeLockSubjectContext(&AccessState->SubjectSecurityContext); in IopParseDevice()
692 &AccessState->SubjectSecurityContext, in IopParseDevice()
732 SeUnlockSubjectContext(&AccessState->SubjectSecurityContext); in IopParseDevice()
/reactos/drivers/filesystems/btrfs/
H A Dcreate.c2695 …LockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
2705 …lockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
2744 …LockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
2749 …lockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
2754 …lockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
3155 …LockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
3165 …lockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext);
3965 …LockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext); in open_file2()
3968 … &IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext, in open_file2()
3977 …lockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContext); in open_file2()
[all …]
H A Dsecurity.c994 … SEF_SACL_AUTO_INHERIT, &as->SubjectSecurityContext, IoGetFileObjectGenericMapping(), PagedPool); in fcb_get_new_sd()
1009 find_gid(fcb, parfileref ? parfileref->fcb : NULL, &as->SubjectSecurityContext); in fcb_get_new_sd()
/reactos/sdk/include/ddk/
H A Drxprocs.h48 _In_ PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext);
/reactos/ntoskrnl/config/
H A Dcmparse.c365 &AccessState->SubjectSecurityContext, in CmpDoCreateChild()
/reactos/sdk/lib/drivers/rdbsslib/
H A Drdbss.c6776 Token = SeQuerySubjectContextToken(&SecurityContext->AccessState->SubjectSecurityContext); in RxGetSessionId()
6865 IN PSECURITY_SUBJECT_CONTEXT SubjectSecurityContext) in RxGetUid() argument
6872 Token = SeQuerySubjectContextToken(SubjectSecurityContext); in RxGetUid()
/reactos/sdk/lib/drivers/rxce/
H A Drxce.c4986 …tToken(&RxContext->Create.NtCreateParameters.SecurityContext->AccessState->SubjectSecurityContext); in RxInitializeVNetRootParameters()