Author: ion
Date: Thu Jul 6 00:36:56 2006
New Revision: 22870
URL:
http://svn.reactos.org/svn/reactos?rev=22870&view=rev
Log:
- Silence TCP/IP.
- Prototye fix.
Modified:
trunk/reactos/drivers/network/tcpip/tcpip/irp.c
trunk/reactos/drivers/network/tcpip/tcpip/main.c
trunk/reactos/ntoskrnl/include/internal/se.h
trunk/reactos/ntoskrnl/io/iomgr/file.c
trunk/reactos/ntoskrnl/se/sd.c
Modified: trunk/reactos/drivers/network/tcpip/tcpip/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/irp.c (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/irp.c Thu Jul 6 00:36:56 2006
@@ -18,7 +18,7 @@
}
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
UntrackFL( __FILE__, __LINE__, Irp );
Modified: trunk/reactos/drivers/network/tcpip/tcpip/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/main.c (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/main.c Thu Jul 6 00:36:56 2006
@@ -385,7 +385,7 @@
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);
@@ -413,7 +413,7 @@
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 );
}
Modified: trunk/reactos/ntoskrnl/include/internal/se.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/se.h (original)
+++ trunk/reactos/ntoskrnl/include/internal/se.h Thu Jul 6 00:36:56 2006
@@ -260,7 +260,7 @@
NTAPI
SeSetWorldSecurityDescriptor(
SECURITY_INFORMATION SecurityInformation,
- PSECURITY_DESCRIPTOR SecurityDescriptor,
+ PISECURITY_DESCRIPTOR SecurityDescriptor,
PULONG BufferLength
);
Modified: trunk/reactos/ntoskrnl/io/iomgr/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/file.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/file.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/file.c Thu Jul 6 00:36:56 2006
@@ -884,8 +884,6 @@
DPRINT1("FIXME: IO_CHECK_CREATE_PARAMETERS not yet supported!\n");
}
- RtlMapGenericMask(&DesiredAccess,
&IoFileObjectType->TypeInfo.GenericMapping);
-
/* First try to open an existing named object */
Status = ObOpenObjectByName(ObjectAttributes,
NULL,
@@ -894,6 +892,8 @@
DesiredAccess,
NULL,
&LocalHandle);
+
+ RtlMapGenericMask(&DesiredAccess,
&IoFileObjectType->TypeInfo.GenericMapping);
ObReferenceObjectByHandle(LocalHandle,
DesiredAccess,
NULL,
Modified: trunk/reactos/ntoskrnl/se/sd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/sd.c?rev=22870…
==============================================================================
--- trunk/reactos/ntoskrnl/se/sd.c (original)
+++ trunk/reactos/ntoskrnl/se/sd.c Thu Jul 6 00:36:56 2006
@@ -116,7 +116,7 @@
}
NTSTATUS
-STDCALL
+NTAPI
SeSetWorldSecurityDescriptor(SECURITY_INFORMATION SecurityInformation,
PISECURITY_DESCRIPTOR SecurityDescriptor,
PULONG BufferLength)