[ros-diffs] [hbirr] 14557: Csrss should only open the '\Windows' directory.

hbirr at svn.reactos.com hbirr at svn.reactos.com
Fri Apr 8 22:29:33 CEST 2005


Csrss should only open the '\Windows' directory.
Modified: trunk/reactos/subsys/csrss/init.c
  _____  

Modified: trunk/reactos/subsys/csrss/init.c
--- trunk/reactos/subsys/csrss/init.c	2005-04-08 19:31:08 UTC (rev
14556)
+++ trunk/reactos/subsys/csrss/init.c	2005-04-08 20:29:30 UTC (rev
14557)
@@ -135,10 +135,9 @@

 	                            NULL,
 	                            NULL);
 
-	Status = NtCreateDirectoryObject(&CsrObjectDirectory,
-	                                 0xF000F, /* ea:??? */
-	                                 &Attributes);
-
+	Status = NtOpenDirectoryObject(&CsrObjectDirectory,
+	                               0xF000F, /* ea:??? */
+	                               &Attributes);
 	return Status;
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050408/bf66f114/attachment.html


More information about the Ros-diffs mailing list