mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
Fix compiling. Thanks to filip.
svn path=/trunk/; revision=20286
This commit is contained in:
parent
09a48bfbbf
commit
2da4a5f455
1 changed files with 6 additions and 4 deletions
|
@ -425,8 +425,8 @@ RtlGetGroupSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
RtlMakeSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
|
RtlMakeSelfRelativeSD(PSECURITY_DESCRIPTOR _AbsSD,
|
||||||
PISECURITY_DESCRIPTOR_RELATIVE RelSD,
|
PSECURITY_DESCRIPTOR _RelSD,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
PSID Owner;
|
PSID Owner;
|
||||||
|
@ -439,7 +439,9 @@ RtlMakeSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
|
||||||
ULONG DaclLength;
|
ULONG DaclLength;
|
||||||
ULONG TotalLength;
|
ULONG TotalLength;
|
||||||
ULONG_PTR Current;
|
ULONG_PTR Current;
|
||||||
|
PISECURITY_DESCRIPTOR AbsSD = (PISECURITY_DESCRIPTOR)_AbsSD;
|
||||||
|
PISECURITY_DESCRIPTOR_RELATIVE RelSD = (PISECURITY_DESCRIPTOR_RELATIVE)_RelSD;
|
||||||
|
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
|
||||||
RtlpQuerySecurityDescriptor(AbsSD,
|
RtlpQuerySecurityDescriptor(AbsSD,
|
||||||
|
@ -522,7 +524,7 @@ RtlAbsoluteToSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
|
||||||
return STATUS_BAD_DESCRIPTOR_FORMAT;
|
return STATUS_BAD_DESCRIPTOR_FORMAT;
|
||||||
}
|
}
|
||||||
|
|
||||||
return RtlMakeSelfRelativeSD(AbsSD, (PISECURITY_DESCRIPTOR_RELATIVE)RelSD, BufferLength);
|
return RtlMakeSelfRelativeSD(AbsSD, (PSECURITY_DESCRIPTOR)RelSD, BufferLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue