Commit af661084 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

ntdll: Implement RtlValidRelativeSecurityDescriptor.

parent fba70e71
......@@ -939,7 +939,7 @@
@ stub RtlUsageHeap
@ cdecl -i386 -norelay RtlUshortByteSwap() NTDLL_RtlUshortByteSwap
@ stdcall RtlValidAcl(ptr)
# @ stub RtlValidRelativeSecurityDescriptor
@ stdcall RtlValidRelativeSecurityDescriptor(ptr long long)
@ stdcall RtlValidSecurityDescriptor(ptr)
@ stdcall RtlValidSid(ptr)
@ stdcall RtlValidateHeap(long long ptr)
......
......@@ -558,6 +558,16 @@ NTSTATUS WINAPI RtlValidSecurityDescriptor(
}
/**************************************************************************
* RtlValidRelativeSecurityDescriptor [NTDLL.@]
*/
BOOLEAN WINAPI RtlValidRelativeSecurityDescriptor(PSECURITY_DESCRIPTOR descriptor,
ULONG length, SECURITY_INFORMATION info)
{
FIXME("%p,%u,%d: semi-stub\n", descriptor, length, info);
return RtlValidSecurityDescriptor(descriptor) == STATUS_SUCCESS;
}
/**************************************************************************
* RtlLengthSecurityDescriptor [NTDLL.@]
*/
ULONG WINAPI RtlLengthSecurityDescriptor(
......
......@@ -1191,7 +1191,7 @@
@ stdcall RtlUpcaseUnicodeToOemN(ptr long ptr ptr long) ntdll.RtlUpcaseUnicodeToOemN
@ stdcall RtlUpperChar(long) ntdll.RtlUpperChar
@ stdcall RtlUpperString(ptr ptr) ntdll.RtlUpperString
@ stub RtlValidRelativeSecurityDescriptor
@ stdcall RtlValidRelativeSecurityDescriptor(ptr long long) ntdll.RtlValidRelativeSecurityDescriptor
@ stdcall RtlValidSecurityDescriptor(ptr) ntdll.RtlValidSecurityDescriptor
@ stdcall RtlValidSid(ptr) ntdll.RtlValidSid
@ stdcall RtlVerifyVersionInfo(ptr long int64) ntdll.RtlVerifyVersionInfo
......
......@@ -2603,6 +2603,7 @@ NTSYSAPI NTSTATUS WINAPI RtlUpdateTimer(HANDLE, HANDLE, DWORD, DWORD);
NTSYSAPI CHAR WINAPI RtlUpperChar(CHAR);
NTSYSAPI void WINAPI RtlUpperString(STRING *,const STRING *);
NTSYSAPI NTSTATUS WINAPI RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
NTSYSAPI BOOLEAN WINAPI RtlValidRelativeSecurityDescriptor(PSECURITY_DESCRIPTOR,ULONG,SECURITY_INFORMATION);
NTSYSAPI BOOLEAN WINAPI RtlValidAcl(PACL);
NTSYSAPI BOOLEAN WINAPI RtlValidSid(PSID);
NTSYSAPI BOOLEAN WINAPI RtlValidateHeap(HANDLE,ULONG,LPCVOID);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment