Author: tfaber
Date: Wed Dec 16 18:08:38 2015
New Revision: 70366
URL:
http://svn.reactos.org/svn/reactos?rev=70366&view=rev
Log:
[NTOS:IO]
- Add some missing OBJ_KERNEL_HANDLE.
CORE-10207
Modified:
trunk/reactos/ntoskrnl/io/iomgr/symlink.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/symlink.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/symlink.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/symlink.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/symlink.c [iso-8859-1] Wed Dec 16 18:08:38 2015
@@ -31,7 +31,7 @@
/* Initialize the object attributes and create the link */
InitializeObjectAttributes(&ObjectAttributes,
SymbolicLinkName,
- OBJ_PERMANENT | OBJ_CASE_INSENSITIVE,
+ OBJ_KERNEL_HANDLE | OBJ_PERMANENT | OBJ_CASE_INSENSITIVE,
NULL,
SePublicDefaultSd);
Status = ZwCreateSymbolicLinkObject(&Handle,
@@ -73,7 +73,7 @@
/* Initialize the object attributes and create the link */
InitializeObjectAttributes(&ObjectAttributes,
SymbolicLinkName,
- OBJ_PERMANENT | OBJ_CASE_INSENSITIVE,
+ OBJ_KERNEL_HANDLE | OBJ_PERMANENT | OBJ_CASE_INSENSITIVE,
NULL,
&SecurityDescriptor);
Status = ZwCreateSymbolicLinkObject(&Handle,
@@ -101,7 +101,7 @@
/* Initialize the object attributes and open the link */
InitializeObjectAttributes(&ObjectAttributes,
SymbolicLinkName,
- OBJ_CASE_INSENSITIVE,
+ OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE,
NULL,
NULL);
Status = ZwOpenSymbolicLinkObject(&Handle, DELETE, &ObjectAttributes);