git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RtlLengthSecurityDescriptor() is now "passed" instead of ReactOS native
[reactos.git]
/
ntoskrnl
/
se
/
sd.c
diff --git
a/ntoskrnl/se/sd.c
b/ntoskrnl/se/sd.c
index
7c9ca64
..
a95833c
100644
(file)
--- a/
ntoskrnl/se/sd.c
+++ b/
ntoskrnl/se/sd.c
@@
-44,7
+44,11
@@
RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
return(STATUS_SUCCESS);
}
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)
{
ULONG STDCALL
RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
{
@@
-100,7
+104,6
@@
RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
return(Length);
}
return(Length);
}
-#ifndef LIBCAPTIVE
NTSTATUS STDCALL
RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
NTSTATUS STDCALL
RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,