From 6c9074c225f946ae4fc8255f3500148b748c6901 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 24 May 2015 14:38:55 +0000 Subject: [PATCH 1/1] [NTOSKRNL] IoCreateDevice: Assign SePublicOpenUnrestrictedSd to new devices. CORE-9176 svn path=/trunk/; revision=67882 --- reactos/ntoskrnl/io/iomgr/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/io/iomgr/device.c b/reactos/ntoskrnl/io/iomgr/device.c index 88ea608577b..ed943328385 100644 --- 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; -- 2.17.1