X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=ntoskrnl%2Fse%2Fsd.c;h=a95833cf6f57066efcc825c8bf0a41cded9fe713;hb=aef49b6d574fb2609349b579bb72010a98693baf;hp=463fba259713fea1e2086b1a50d0738b6f91e742;hpb=1334f77b1ecef00ac31076ce6bf22bdfeb82d347;p=reactos.git diff --git a/ntoskrnl/se/sd.c b/ntoskrnl/se/sd.c index 463fba2..a95833c 100644 --- a/ntoskrnl/se/sd.c +++ b/ntoskrnl/se/sd.c @@ -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 */