ObReleaseObjectSecurity
VOID __stdcall ObReleaseObjectSecurity(PVOID SecurityDescriptor, UINT8 MemoryAllocated){
if( SecurityDescriptor )
{
if( MemoryAllocated )
ExFreePoolWithTag(SecurityDescriptor, 0);
else
ObDereferenceSecurityDescriptor(SecurityDescriptor, 1ui64);
}
}Referenced by:
EtwpCheckCurrentUserProcessAccess
MiAllowImageMap
ObCheckCreateObjectAccess
ObCheckObjectAccess
ObpCheckObjectReference
ObpCheckTraverseAccess
ObpInsertOrLocateNamedObject
PopBootStatAccessCheck
PspAllocateAndQueryNotificationChannel
PspCheckJobAccessState