mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 23:55:07 +00:00
[NPFS-NEW]: ntdll_winetest pipe : 107 tests executed (0 marked as todo, 0 failures), 0 skipped.
svn path=/trunk/; revision=60042
This commit is contained in:
parent
f5b3510fa4
commit
29cacf4e53
|
@ -148,8 +148,8 @@ NpCreateClientEnd(IN PNP_FCB Fcb,
|
||||||
SeUnlockSubjectContext(SubjectSecurityContext);
|
SeUnlockSubjectContext(SubjectSecurityContext);
|
||||||
if (!AccessGranted) return IoStatus;
|
if (!AccessGranted) return IoStatus;
|
||||||
|
|
||||||
if (((AccessGranted & FILE_READ_DATA) && (NamedPipeConfiguration == FILE_PIPE_INBOUND)) ||
|
if (((GrantedAccess & FILE_READ_DATA) && (NamedPipeConfiguration == FILE_PIPE_INBOUND)) ||
|
||||||
((AccessGranted & FILE_WRITE_DATA) && (NamedPipeConfiguration == FILE_PIPE_OUTBOUND)))
|
((GrantedAccess & FILE_WRITE_DATA) && (NamedPipeConfiguration == FILE_PIPE_OUTBOUND)))
|
||||||
{
|
{
|
||||||
IoStatus.Status = STATUS_ACCESS_DENIED;
|
IoStatus.Status = STATUS_ACCESS_DENIED;
|
||||||
return IoStatus;
|
return IoStatus;
|
||||||
|
@ -391,7 +391,6 @@ NpCreateExistingNamedPipe(IN PNP_FCB Fcb,
|
||||||
AccessState->RemainingDesiredAccess &= ~(GrantedAccess | 0x2000000);
|
AccessState->RemainingDesiredAccess &= ~(GrantedAccess | 0x2000000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ObjectTypeName.Buffer = L"NamedPipe";
|
ObjectTypeName.Buffer = L"NamedPipe";
|
||||||
ObjectTypeName.Length = 18;
|
ObjectTypeName.Length = 18;
|
||||||
SeOpenObjectAuditAlarm(&ObjectTypeName,
|
SeOpenObjectAuditAlarm(&ObjectTypeName,
|
||||||
|
|
Loading…
Reference in a new issue