Author: ion
Date: Wed Sep 11 19:36:51 2013
New Revision: 60042
URL:
http://svn.reactos.org/svn/reactos?rev=60042&view=rev
Log:
[NPFS-NEW]: ntdll_winetest pipe : 107 tests executed (0 marked as todo, 0 failures), 0
skipped.
Modified:
trunk/reactos/drivers/filesystems/npfs_new/create.c
Modified: trunk/reactos/drivers/filesystems/npfs_new/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs_n…
==============================================================================
--- trunk/reactos/drivers/filesystems/npfs_new/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/npfs_new/create.c [iso-8859-1] Wed Sep 11 19:36:51
2013
@@ -148,8 +148,8 @@
SeUnlockSubjectContext(SubjectSecurityContext);
if (!AccessGranted) return IoStatus;
- if (((AccessGranted & FILE_READ_DATA) && (NamedPipeConfiguration ==
FILE_PIPE_INBOUND)) ||
- ((AccessGranted & FILE_WRITE_DATA) && (NamedPipeConfiguration ==
FILE_PIPE_OUTBOUND)))
+ if (((GrantedAccess & FILE_READ_DATA) && (NamedPipeConfiguration ==
FILE_PIPE_INBOUND)) ||
+ ((GrantedAccess & FILE_WRITE_DATA) && (NamedPipeConfiguration ==
FILE_PIPE_OUTBOUND)))
{
IoStatus.Status = STATUS_ACCESS_DENIED;
return IoStatus;
@@ -391,7 +391,6 @@
AccessState->RemainingDesiredAccess &= ~(GrantedAccess | 0x2000000);
}
-
ObjectTypeName.Buffer = L"NamedPipe";
ObjectTypeName.Length = 18;
SeOpenObjectAuditAlarm(&ObjectTypeName,