RtlLengthSecurityDescriptor() is now "passed" instead of ReactOS native
[reactos.git] / ntoskrnl / se / sd.c
index 463fba2..a95833c 100644 (file)
@@ -44,6 +44,11 @@ RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
   return(STATUS_SUCCESS);
 }
 
+#ifndef LIBCAPTIVE
+
+/* FIXME: This function is somehow buggy, at least it uses '0xfc' mask
+ * instead of '0xFFFFFFFC' mask as sometimes there are PAGE_SIZE sized structures.
+ */
 ULONG STDCALL
 RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
 {
@@ -143,6 +148,7 @@ RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
    return(STATUS_SUCCESS);
 }
 
+#endif /* LIBCAPTIVE */
 
 NTSTATUS STDCALL
 RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
@@ -173,6 +179,7 @@ RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
    return(STATUS_SUCCESS);
 }
 
+#ifndef LIBCAPTIVE
 
 BOOLEAN STDCALL
 RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
@@ -389,6 +396,6 @@ RtlAbsoluteToSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD,
   return(STATUS_NOT_IMPLEMENTED);
 }
 
-
+#endif /* LIBCAPTIVE */
 
 /* EOF */