mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 05:42:57 +00:00
- Silence TCP/IP.
- Prototye fix. svn path=/trunk/; revision=22870
This commit is contained in:
parent
cca46c3214
commit
0e84e0e3c1
5 changed files with 7 additions and 7 deletions
|
@ -18,7 +18,7 @@ VOID IRPRemember( PIRP Irp, PCHAR File, UINT Line ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status ) {
|
NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status ) {
|
||||||
DbgPrint("Called: Irp %x, Status %x Event %x\n", Irp, Status, Irp->UserEvent);
|
//DbgPrint("Called: Irp %x, Status %x Event %x\n", Irp, Status, Irp->UserEvent);
|
||||||
|
|
||||||
#ifdef MEMTRACK
|
#ifdef MEMTRACK
|
||||||
UntrackFL( __FILE__, __LINE__, Irp );
|
UntrackFL( __FILE__, __LINE__, Irp );
|
||||||
|
|
|
@ -385,7 +385,7 @@ TiDispatchOpenClose(
|
||||||
|
|
||||||
RIRP(Irp);
|
RIRP(Irp);
|
||||||
|
|
||||||
DbgPrint("Called. DeviceObject is at (0x%X), IRP is at (0x%X).\n", DeviceObject, Irp);
|
// DbgPrint("Called. DeviceObject is at (0x%X), IRP is at (0x%X).\n", DeviceObject, Irp);
|
||||||
|
|
||||||
IrpSp = IoGetCurrentIrpStackLocation(Irp);
|
IrpSp = IoGetCurrentIrpStackLocation(Irp);
|
||||||
|
|
||||||
|
@ -413,7 +413,7 @@ TiDispatchOpenClose(
|
||||||
Status = STATUS_INVALID_DEVICE_REQUEST;
|
Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||||
}
|
}
|
||||||
|
|
||||||
DbgPrint("Leaving. Status is (0x%X)\n", Status);
|
//DbgPrint("Leaving. Status is (0x%X)\n", Status);
|
||||||
|
|
||||||
return IRPFinish( Irp, Status );
|
return IRPFinish( Irp, Status );
|
||||||
}
|
}
|
||||||
|
|
|
@ -260,7 +260,7 @@ NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
SeSetWorldSecurityDescriptor(
|
SeSetWorldSecurityDescriptor(
|
||||||
SECURITY_INFORMATION SecurityInformation,
|
SECURITY_INFORMATION SecurityInformation,
|
||||||
PSECURITY_DESCRIPTOR SecurityDescriptor,
|
PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PULONG BufferLength
|
PULONG BufferLength
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -884,8 +884,6 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
||||||
DPRINT1("FIXME: IO_CHECK_CREATE_PARAMETERS not yet supported!\n");
|
DPRINT1("FIXME: IO_CHECK_CREATE_PARAMETERS not yet supported!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
RtlMapGenericMask(&DesiredAccess, &IoFileObjectType->TypeInfo.GenericMapping);
|
|
||||||
|
|
||||||
/* First try to open an existing named object */
|
/* First try to open an existing named object */
|
||||||
Status = ObOpenObjectByName(ObjectAttributes,
|
Status = ObOpenObjectByName(ObjectAttributes,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -894,6 +892,8 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
||||||
DesiredAccess,
|
DesiredAccess,
|
||||||
NULL,
|
NULL,
|
||||||
&LocalHandle);
|
&LocalHandle);
|
||||||
|
|
||||||
|
RtlMapGenericMask(&DesiredAccess, &IoFileObjectType->TypeInfo.GenericMapping);
|
||||||
ObReferenceObjectByHandle(LocalHandle,
|
ObReferenceObjectByHandle(LocalHandle,
|
||||||
DesiredAccess,
|
DesiredAccess,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
|
@ -116,7 +116,7 @@ SepInitSDs(VOID)
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
SeSetWorldSecurityDescriptor(SECURITY_INFORMATION SecurityInformation,
|
SeSetWorldSecurityDescriptor(SECURITY_INFORMATION SecurityInformation,
|
||||||
PISECURITY_DESCRIPTOR SecurityDescriptor,
|
PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue