https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c2aa749bbd03c20dbc18b…
commit c2aa749bbd03c20dbc18b13897c33fca67fd115f
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Tue Jun 25 22:14:23 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun Jun 30 23:07:54 2019 +0200
[REACTOS] Finally enable the LUID mapped devices
This allows users to have their own locally mapped DOS devices.
For instance, when a network drive is mapped, it is now mapped in the
user device maps and no longer in the global device map.
This avoids sharing mount points system wide whereas they shouldn't.
LUID mapped devices is the default W2K3 behavior.
Globally mapped devices can be restored by adding back this registry key.
https://twitter.com/HeisSpiter/status/1143615176450686976
CORE-16114
---
boot/bootdata/hivesys.inf | 1 -
1 file changed, 1 deletion(-)
diff --git a/boot/bootdata/hivesys.inf b/boot/bootdata/hivesys.inf
index d1e1f7d4d59..0f2fc9369eb 100644
--- a/boot/bootdata/hivesys.inf
+++ b/boot/bootdata/hivesys.inf
@@ -1445,7 +1445,6 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","ObjectDirectories",0x00
"\Windows", \
"\RPC Control"
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","ProtectionMode", 0x00010003, 0x00000001
-HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager","LUIDDeviceMapsDisabled", 0x00010003, 0x00000001
; DOS devices
HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices","AUX",0x00000002,"\DosDevices\COM1"
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4fd223729b84740e558a9…
commit 4fd223729b84740e558a9bbc9c0727749959f8a2
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Tue Jun 25 22:09:54 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sun Jun 30 23:07:54 2019 +0200
[NTOSKRNL] When looping again in ObpLookupEntryDirectory, properly init root entry
This fixes looking in global directory for DOS drives that are globally mounted
(such as C: drive)
CORE-16114
---
ntoskrnl/ob/obdir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/ob/obdir.c b/ntoskrnl/ob/obdir.c
index 83d05d4beb9..1c7b457c726 100644
--- a/ntoskrnl/ob/obdir.c
+++ b/ntoskrnl/ob/obdir.c
@@ -214,11 +214,11 @@ ObpLookupEntryDirectory(IN POBJECT_DIRECTORY Directory,
Context->HashValue = HashValue;
Context->HashIndex = (USHORT)HashIndex;
+DoItAgain:
/* Get the root entry and set it as our lookup bucket */
AllocatedEntry = &Directory->HashBuckets[HashIndex];
LookupBucket = AllocatedEntry;
-DoItAgain:
/* Check if the directory is already locked */
if (!Context->DirectoryLocked)
{