Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject.
This commit is contained in:
parent
6f686490b1
commit
5909b0de35
|
@ -640,6 +640,9 @@ BOOL WINAPI MakeAbsoluteSD (
|
||||||
pPrimaryGroup, lpdwPrimaryGroupSize));
|
pPrimaryGroup, lpdwPrimaryGroupSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* GetKernelObjectSecurity [ADVAPI32.@]
|
||||||
|
*/
|
||||||
BOOL WINAPI GetKernelObjectSecurity(
|
BOOL WINAPI GetKernelObjectSecurity(
|
||||||
HANDLE Handle,
|
HANDLE Handle,
|
||||||
SECURITY_INFORMATION RequestedInformation,
|
SECURITY_INFORMATION RequestedInformation,
|
||||||
|
@ -647,12 +650,16 @@ BOOL WINAPI GetKernelObjectSecurity(
|
||||||
DWORD nLength,
|
DWORD nLength,
|
||||||
LPDWORD lpnLengthNeeded )
|
LPDWORD lpnLengthNeeded )
|
||||||
{
|
{
|
||||||
FIXME("%p 0x%08lx %p 0x%08lx %p - stub\n", Handle, RequestedInformation,
|
TRACE("(%p,0x%08lx,%p,0x%08lx,%p)\n", Handle, RequestedInformation,
|
||||||
pSecurityDescriptor, nLength, lpnLengthNeeded);
|
pSecurityDescriptor, nLength, lpnLengthNeeded);
|
||||||
|
|
||||||
return FALSE;
|
return set_ntstatus( NtQuerySecurityObject(Handle, RequestedInformation, pSecurityDescriptor,
|
||||||
|
nLength, lpnLengthNeeded ));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* GetPrivateObjectSecurity [ADVAPI32.@]
|
||||||
|
*/
|
||||||
BOOL WINAPI GetPrivateObjectSecurity(
|
BOOL WINAPI GetPrivateObjectSecurity(
|
||||||
PSECURITY_DESCRIPTOR ObjectDescriptor,
|
PSECURITY_DESCRIPTOR ObjectDescriptor,
|
||||||
SECURITY_INFORMATION SecurityInformation,
|
SECURITY_INFORMATION SecurityInformation,
|
||||||
|
@ -660,10 +667,11 @@ BOOL WINAPI GetPrivateObjectSecurity(
|
||||||
DWORD DescriptorLength,
|
DWORD DescriptorLength,
|
||||||
PDWORD ReturnLength )
|
PDWORD ReturnLength )
|
||||||
{
|
{
|
||||||
FIXME("%p 0x%08lx %p 0x%08lx %p - stub\n", ObjectDescriptor, SecurityInformation,
|
TRACE("(%p,0x%08lx,%p,0x%08lx,%p)\n", ObjectDescriptor, SecurityInformation,
|
||||||
ResultantDescriptor, DescriptorLength, ReturnLength);
|
ResultantDescriptor, DescriptorLength, ReturnLength);
|
||||||
|
|
||||||
return FALSE;
|
return set_ntstatus( NtQuerySecurityObject(ObjectDescriptor, SecurityInformation,
|
||||||
|
ResultantDescriptor, DescriptorLength, ReturnLength ));
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue