Home
last modified time | relevance | path

Searched refs:SecurityContext (Results 1 – 25 of 38) sorted by relevance

12

/reactos/drivers/filesystems/npfs/
H A Dcreate.c382 DesiredAccess = IoStack->Parameters.CreatePipe.SecurityContext->DesiredAccess; in NpFsdCreate()
492 SecurityContext->SecurityQos, in NpFsdCreate()
494 SecurityContext->AccessState, in NpFsdCreate()
670 PSECURITY_SUBJECT_CONTEXT SecurityContext; in NpCreateNewNamedPipe() local
739 SecurityContext = &AccessState->SubjectSecurityContext; in NpCreateNewNamedPipe()
740 SeLockSubjectContext(SecurityContext); in NpCreateNewNamedPipe()
746 SecurityContext, in NpCreateNewNamedPipe()
749 SeUnlockSubjectContext(SecurityContext); in NpCreateNewNamedPipe()
869 SecurityContext->AccessState, in NpFsdCreateNamedPipe()
894 SecurityContext->DesiredAccess, in NpFsdCreateNamedPipe()
[all …]
/reactos/modules/rosapps/drivers/vfd/
H A Dvfdimg.c76 if (DeviceExtension->SecurityContext != NULL) { in VfdOpenCheck()
77 SeDeleteClientSecurity(DeviceExtension->SecurityContext); in VfdOpenCheck()
80 DeviceExtension->SecurityContext = in VfdOpenCheck()
94 DeviceExtension->SecurityContext); in VfdOpenCheck()
H A Dvfddev.c347 if (device_extension->SecurityContext) { in VfdDeleteDevice()
348 SeDeleteClientSecurity(device_extension->SecurityContext); in VfdDeleteDevice()
349 ExFreePool(device_extension->SecurityContext); in VfdDeleteDevice()
H A Dvfdioctl.c551 if (DeviceExtension->SecurityContext) { in VfdIoCtlThread()
552 SeImpersonateClient(DeviceExtension->SecurityContext, NULL); in VfdIoCtlThread()
H A Dvfddrv.h83 PSECURITY_CLIENT_CONTEXT SecurityContext; member
/reactos/drivers/filesystems/vfatfs/
H A Dcreate.c495 IoSetShareAccess(Stack->Parameters.Create.SecurityContext->DesiredAccess, in VfatCreateFile()
502 Status = IoCheckShareAccess(Stack->Parameters.Create.SecurityContext->DesiredAccess, in VfatCreateFile()
678 IoSetShareAccess(Stack->Parameters.Create.SecurityContext->DesiredAccess, in VfatCreateFile()
685 Status = IoCheckShareAccess(Stack->Parameters.Create.SecurityContext->DesiredAccess, in VfatCreateFile()
847 Status = IoCheckShareAccess(Stack->Parameters.Create.SecurityContext->DesiredAccess, in VfatCreateFile()
886 … if (BooleanFlagOn(Stack->Parameters.Create.SecurityContext->DesiredAccess, FILE_WRITE_DATA) || in VfatCreateFile()
894 … DPRINT1("%d %d %d\n", Stack->Parameters.Create.SecurityContext->DesiredAccess & FILE_WRITE_DATA, in VfatCreateFile()
1013 IoSetShareAccess(Stack->Parameters.Create.SecurityContext->DesiredAccess, in VfatCreateFile()
/reactos/modules/rostests/kmtests/kmtest_drv/
H A Dstructs.c24 C_ASSERT(FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.SecurityContext) == 4);
52 C_ASSERT(FIELD_OFFSET(IO_STACK_LOCATION, Parameters.Create.SecurityContext) == 8);
/reactos/drivers/filesystems/cdfs/
H A Dcreate.c1938 IrpSp->Parameters.Create.SecurityContext->DesiredAccess )) { in CdOpenByFileId()
1950 IrpSp->Parameters.Create.SecurityContext->DesiredAccess ); in CdOpenByFileId()
2035 IrpSp->Parameters.Create.SecurityContext->DesiredAccess )) { in _Requires_lock_held_()
2072 IrpSp->Parameters.Create.SecurityContext->DesiredAccess ); in _Requires_lock_held_()
2170 IrpSp->Parameters.Create.SecurityContext->DesiredAccess )) { in CdOpenDirectoryFromPathEntry()
2334 IrpSp->Parameters.Create.SecurityContext->DesiredAccess ); in CdOpenDirectoryFromPathEntry()
2447 IrpSp->Parameters.Create.SecurityContext->DesiredAccess )) { in _Requires_lock_held_()
2625 IrpSp->Parameters.Create.SecurityContext->DesiredAccess ); in _Requires_lock_held_()
/reactos/drivers/filesystems/btrfs/
H A Dcreate.c2419 Status = fcb_get_new_sd(fcb, parfileref, IrpSp->Parameters.Create.SecurityContext->AccessState);
2744 …SeLockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityContex…
2754 …SeUnlockSubjectContext(&IrpSp->Parameters.Create.SecurityContext->AccessState->SubjectSecurityCont…
3225 ccb->access = IrpSp->Parameters.Create.SecurityContext->DesiredAccess;
3964 if (IrpSp->Parameters.Create.SecurityContext->DesiredAccess != 0) { in open_file2()
3969 true, IrpSp->Parameters.Create.SecurityContext->DesiredAccess, 0, NULL, in open_file2()
4025 if (IrpSp->Parameters.Create.SecurityContext->DesiredAccess & MAXIMUM_ALLOWED) { in open_file2()
4027 … IrpSp->Parameters.Create.SecurityContext->AccessState->PreviouslyGrantedAccess &= allowed; in open_file2()
4716 granted_access = IrpSp->Parameters.Create.SecurityContext->DesiredAccess;
4730 … IrpSp->Parameters.Create.SecurityContext->AccessState->PreviouslyGrantedAccess |= granted_access;
[all …]
/reactos/sdk/lib/drivers/rdbsslib/
H A Drdbss.c5047 PIO_SECURITY_CONTEXT SecurityContext; in RxCopyCreateParameters() local
5052 SecurityContext = Stack->Parameters.Create.SecurityContext; in RxCopyCreateParameters()
5054 RxContext->Create.NtCreateParameters.SecurityContext = SecurityContext; in RxCopyCreateParameters()
5055 …if (SecurityContext->AccessState != NULL && SecurityContext->AccessState->SecurityDescriptor != NU… in RxCopyCreateParameters()
5061 if (SecurityContext->SecurityQos != NULL) in RxCopyCreateParameters()
6756 PIO_SECURITY_CONTEXT SecurityContext; in RxGetSessionId() local
6768 SecurityContext = IrpSp->Parameters.Create.SecurityContext; in RxGetSessionId()
6772SecurityContext = ((PQUERY_PATH_REQUEST)IrpSp->Parameters.DeviceIoControl.Type3InputBuffer)->Secur… in RxGetSessionId()
7765 RxContext->Create.NtCreateParameters.SecurityContext = QueryRequest->SecurityContext; in RxPrefixClaim()
9215 if (Stack->Parameters.Create.SecurityContext != NULL) in RxSetupNetFileObject()
[all …]
/reactos/drivers/filesystems/mup/
H A Dmup.c1414 … Stack->Parameters.Create.SecurityContext->DesiredAccess & FILE_SIMPLE_RIGHTS_MASK, in BroadcastOpen()
1873 PIO_SECURITY_CONTEXT SecurityContext) in CreateRedirectedFile() argument
2073 QueryPathRequest->SecurityContext = SecurityContext; in CreateRedirectedFile()
2218 … Status = CreateRedirectedFile(Irp, FileObject, Stack->Parameters.Create.SecurityContext); in MupCreate()
2225 Stack->Parameters.Create.SecurityContext->DesiredAccess, in MupCreate()
/reactos/drivers/filesystems/fastfat/
H A Dcreate.c656 …Dbg, "->DesiredAccess = %08lx\n", IrpSp->Parameters.Create.SecurityContext->DesiredAcces… in _Requires_lock_held_()
694 NT_ASSERT( IrpSp->Parameters.Create.SecurityContext != NULL ); in _Requires_lock_held_()
701 DesiredAccess = &IrpSp->Parameters.Create.SecurityContext->DesiredAccess; in _Requires_lock_held_()
2222 NT_ASSERT( IrpSp->Parameters.Create.SecurityContext != NULL ); in _Requires_lock_held_()
2535 … IrpSp->Parameters.Create.SecurityContext->AccessState, in _Requires_lock_held_()
3862 … IrpSp->Parameters.Create.SecurityContext->AccessState, in _Requires_lock_held_()
4837 … IrpSp->Parameters.Create.SecurityContext->AccessState, in _Requires_lock_held_()
6183 IrpSp->Parameters.Create.SecurityContext->AccessState, in _Requires_lock_held_()
6843 NT_ASSERT( IrpSp->Parameters.Create.SecurityContext != NULL ); in FatCheckSystemSecurityAccess()
6844 AccessState = IrpSp->Parameters.Create.SecurityContext->AccessState; in FatCheckSystemSecurityAccess()
/reactos/ntoskrnl/io/iomgr/
H A Dfile.c343 IO_SECURITY_CONTEXT SecurityContext; in IopParseDevice() local
770 SecurityContext.SecurityQos = SecurityQos; in IopParseDevice()
771 SecurityContext.AccessState = AccessState; in IopParseDevice()
772 SecurityContext.DesiredAccess = AccessState->RemainingDesiredAccess; in IopParseDevice()
773 SecurityContext.FullCreateOptions = OpenPacket->CreateOptions; in IopParseDevice()
819 StackLoc->Parameters.Create.SecurityContext = &SecurityContext; in IopParseDevice()
/reactos/drivers/hid/kbdhid/
H A Dkbdhid.c297 ASSERT(IoStack->Parameters.Create.SecurityContext); in KbdHid_Create()
298 if (IoStack->Parameters.Create.SecurityContext->DesiredAccess) in KbdHid_Create()
/reactos/drivers/hid/mouhid/
H A Dmouhid.c493 ASSERT(IoStack->Parameters.Create.SecurityContext); in MouHid_Create()
494 if (IoStack->Parameters.Create.SecurityContext->DesiredAccess) in MouHid_Create()
/reactos/sdk/include/ddk/
H A Drxcontx.h93 PIO_SECURITY_CONTEXT SecurityContext; member
H A Dfltkernel.h101 PIO_SECURITY_CONTEXT SecurityContext; member
110 PIO_SECURITY_CONTEXT SecurityContext; member
117 PIO_SECURITY_CONTEXT SecurityContext; member
/reactos/drivers/storage/class/classpnp/
H A Dcreate.c170 irpStack->Parameters.Create.SecurityContext; in ClasspCreateClose()
/reactos/ntoskrnl/fsrtl/
H A Doplock.c1268 DesiredAccess = Stack->Parameters.Create.SecurityContext->DesiredAccess; in FsRtlCheckOplock()
1539 …!(Stack->Parameters.Create.SecurityContext->DesiredAccess & ~(FILE_READ_ATTRIBUTES | FILE_READ_DAT… in FsRtlOplockFsctrl()
/reactos/sdk/lib/drivers/wdf/kmdf/inc/private/
H A Dwdf10.h1494 PIO_SECURITY_CONTEXT SecurityContext; member
H A Dwdf11.h1524 PIO_SECURITY_CONTEXT SecurityContext; member
H A Dwdf19.h1715 PIO_SECURITY_CONTEXT SecurityContext; member
H A Dwdf15.h1530 PIO_SECURITY_CONTEXT SecurityContext; member
H A Dwdf17.h1549 PIO_SECURITY_CONTEXT SecurityContext; member
/reactos/drivers/filesystems/ext2/src/
H A Dcreate.c915 DesiredAccess = IrpSp->Parameters.Create.SecurityContext->DesiredAccess; in Ext2CreateFile()
1866 DesiredAccess = IrpSp->Parameters.Create.SecurityContext->DesiredAccess; in Ext2CreateVolume()

12