projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7858fab
)
[NTOSKRNL]
author
Eric Kohl
<eric.kohl@reactos.org>
Sun, 24 May 2015 14:38:55 +0000
(14:38 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sun, 24 May 2015 14:38:55 +0000
(14:38 +0000)
IoCreateDevice: Assign SePublicOpenUnrestrictedSd to new devices.
CORE-9176
svn path=/trunk/; revision=67882
reactos/ntoskrnl/io/iomgr/device.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/iomgr/device.c
b/reactos/ntoskrnl/io/iomgr/device.c
index
88ea608
..
ed94332
100644
(file)
--- a/
reactos/ntoskrnl/io/iomgr/device.c
+++ b/
reactos/ntoskrnl/io/iomgr/device.c
@@
-846,14
+846,14
@@
IoCreateDevice(IN PDRIVER_OBJECT DriverObject,
/* Initialize the name */
RtlInitUnicodeString(&AutoName, AutoNameBuffer);
DeviceName = &AutoName;
- }
+
}
/* Initialize the Object Attributes */
InitializeObjectAttributes(&ObjectAttributes,
DeviceName,
OBJ_KERNEL_HANDLE,
NULL,
-
NULL
);
+
SePublicOpenUnrestrictedSd
);
/* Honor exclusive flag */
if (Exclusive) ObjectAttributes.Attributes |= OBJ_EXCLUSIVE;