mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 04:37:15 +00:00
- Add ObpValidateAccessMask stub (only returns success for now) and call it from ObInsertObject
- Fix for Coverity Error CID: 9 svn path=/trunk/; revision=36491
This commit is contained in:
parent
c2ca8fb596
commit
c1a36080a7
1 changed files with 9 additions and 1 deletions
|
@ -450,6 +450,14 @@ ObpChargeQuotaForObject(IN POBJECT_HEADER ObjectHeader,
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
ObpValidateAccessMask(IN PACCESS_STATE AccessState)
|
||||||
|
{
|
||||||
|
/* TODO */
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
* @name ObpDecrementHandleCount
|
* @name ObpDecrementHandleCount
|
||||||
*
|
*
|
||||||
|
@ -2888,7 +2896,7 @@ ObInsertObject(IN PVOID Object,
|
||||||
AccessState->SecurityDescriptor = ObjectCreateInfo->SecurityDescriptor;
|
AccessState->SecurityDescriptor = ObjectCreateInfo->SecurityDescriptor;
|
||||||
|
|
||||||
/* Validate the access mask */
|
/* Validate the access mask */
|
||||||
Status = STATUS_SUCCESS;//ObpValidateAccessMask(AccessState);
|
Status = ObpValidateAccessMask(AccessState);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Fail */
|
/* Fail */
|
||||||
|
|
Loading…
Reference in a new issue