mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOS:IO]
- Add some missing OBJ_KERNEL_HANDLE. CORE-10207 svn path=/trunk/; revision=70366
This commit is contained in:
parent
7b6be00fcc
commit
42f54fdc45
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ IoCreateSymbolicLink(IN PUNICODE_STRING SymbolicLinkName,
|
|||
/* 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 @@ IoCreateUnprotectedSymbolicLink(IN PUNICODE_STRING SymbolicLinkName,
|
|||
/* 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 @@ IoDeleteSymbolicLink(IN PUNICODE_STRING SymbolicLinkName)
|
|||
/* 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);
|
||||
|
|
Loading…
Reference in a new issue