From 6ab86eb6cc8de73dd7f4ed70dab5f08ca69db3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 18 May 2017 23:46:44 +0000 Subject: [PATCH] [NTOS]: Use the correct access rights for ZwOpenDirectoryObject call. svn path=/trunk/; revision=74585 --- reactos/ntoskrnl/fstub/disksup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/fstub/disksup.c b/reactos/ntoskrnl/fstub/disksup.c index 09e55c31426..62986aed4b4 100644 --- a/reactos/ntoskrnl/fstub/disksup.c +++ b/reactos/ntoskrnl/fstub/disksup.c @@ -173,7 +173,7 @@ xHalpGetRDiskCount(VOID) NULL); Status = ZwOpenDirectoryObject (&DirectoryHandle, - SYMBOLIC_LINK_ALL_ACCESS, + DIRECTORY_ALL_ACCESS, &ObjectAttributes); if (!NT_SUCCESS(Status)) {