+ntoskrnl/se/acl.c
authorshort <>
Sun, 23 Mar 2003 23:55:45 +0000 (23:55 +0000)
committershort <>
Sun, 23 Mar 2003 23:55:45 +0000 (23:55 +0000)
 - +RtlFirstFreeAce()
 - +RtlpAddKnownAce()
 - +RtlAddAccessAllowedAce()
 - +RtlCreateAcl()

ntoskrnl/se/acl.c

index bd24958..c9328cd 100644 (file)
@@ -21,6 +21,7 @@
 
 /* GLOBALS ******************************************************************/
 
+#ifndef LIBCAPTIVE
 PACL EXPORTED SePublicDefaultDacl = NULL;
 PACL EXPORTED SeSystemDefaultDacl = NULL;
 
@@ -28,10 +29,13 @@ PACL SePublicDefaultUnrestrictedDacl = NULL;
 PACL SePublicOpenDacl = NULL;
 PACL SePublicOpenUnrestrictedDacl = NULL;
 PACL SeUnrestrictedDacl = NULL;
+#endif /* LIBCAPTIVE */
 
 
 /* FUNCTIONS ****************************************************************/
 
+#ifndef LIBCAPTIVE
+
 BOOLEAN
 SepInitDACLs(VOID)
 {
@@ -129,6 +133,7 @@ SepInitDACLs(VOID)
   return(TRUE);
 }
 
+#endif /* LIBCAPTIVE */
 
 BOOLEAN STDCALL
 RtlFirstFreeAce(PACL Acl,
@@ -227,6 +232,7 @@ RtlAddAccessAllowedAce(PACL Acl,
   return(RtlpAddKnownAce(Acl, Revision, AccessMask, Sid, 0));
 }
 
+#ifndef LIBCAPTIVE
 
 NTSTATUS STDCALL
 RtlAddAce(PACL Acl,
@@ -294,6 +300,7 @@ RtlAddAce(PACL Acl,
    return(TRUE);
 }
 
+#endif /* LIBCAPTIVE */
 
 NTSTATUS STDCALL
 RtlCreateAcl(PACL Acl,