/* FUNCTIONS ****************************************************************/
-
BOOLEAN
SeInit1(VOID)
{
if (!SepInitSecurityIDs())
return(FALSE);
+#ifndef LIBCAPTIVE
if (!SepInitDACLs())
return(FALSE);
+#endif /* LIBCAPTIVE */
if (!SepInitSDs())
return(FALSE);
return(TRUE);
}
+#ifndef LIBCAPTIVE
VOID SepReferenceLogonSession(PLUID AuthenticationId)
{
}
+#endif /* LIBCAPTIVE */
VOID STDCALL SeReleaseSubjectContext (PSECURITY_SUBJECT_CONTEXT SubjectContext)
{
}
}
+
VOID STDCALL SeCaptureSubjectContext (PSECURITY_SUBJECT_CONTEXT SubjectContext)
{
PEPROCESS Process;
SubjectContext->PrimaryToken = PsReferencePrimaryToken(Process);
}
+#ifndef LIBCAPTIVE
NTSTATUS STDCALL
SeDeassignSecurity(PSECURITY_DESCRIPTOR* SecurityDescriptor)
#endif
NTSTATUS STDCALL
-SeAssignSecurity(PSECURITY_DESCRIPTOR ParentDescriptor,
- PSECURITY_DESCRIPTOR ExplicitDescriptor,
+SeAssignSecurity(PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL,
+ PSECURITY_DESCRIPTOR ExplicitDescriptor OPTIONAL,
PSECURITY_DESCRIPTOR* NewDescriptor,
BOOLEAN IsDirectoryObject,
PSECURITY_SUBJECT_CONTEXT SubjectContext,
GenericMapping);
}
#else
- UNIMPLEMENTED;
+ UNIMPLEMENTED;
#endif
}
return(STATUS_SUCCESS);
}
+#endif /* LIBCAPTIVE */
/* EOF */