ntdll: Remove an artificial limitation in NtQuerySecurityObject

Dmitry Timoshkov dmitry at codeweavers.com
Fri Jul 13 00:19:15 CDT 2007


Hello,

this patch fixes a regression reported in the bug #8552.

Changelog:
    ntdll: Remove an artificial limitation in NtQuerySecurityObject.

---
 dlls/ntdll/om.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/om.c b/dlls/ntdll/om.c
index 0e94e35..06ec9f6 100644
--- a/dlls/ntdll/om.c
+++ b/dlls/ntdll/om.c
@@ -188,8 +188,6 @@ NtQuerySecurityObject(
 
 	RequestedInformation &= 0x0000000f;
 
-	if (RequestedInformation & SACL_SECURITY_INFORMATION) return STATUS_ACCESS_DENIED;
-
 	ZeroMemory(Buffer, 256);
 	RtlCreateSecurityDescriptor((PSECURITY_DESCRIPTOR)psd, SECURITY_DESCRIPTOR_REVISION);
 	psd->Control = SE_SELF_RELATIVE |
-- 
1.5.2.3






More information about the wine-patches mailing list