don't read the image file name from the Peb in NtQueryInformationProcess (class Proce...
[reactos.git] / reactos / ntoskrnl / ps / process.c
index b2d6e61..2f0ea4f 100644 (file)
@@ -320,6 +320,9 @@ PspCreateProcess(OUT PHANDLE ProcessHandle,
     Process->DebugPort = pDebugPort;
     Process->ExceptionPort = pExceptionPort;
 
+    /* Save the pointer to the section object */
+    Process->SectionObject = SectionObject;
+
     /* Setup the Lock Event */
     DPRINT("Initialzing Process Lock\n");
     KeInitializeEvent(&Process->LockEvent, SynchronizationEvent, FALSE);