[NTOSKRNL] Implement support for PIN_IF_BCB flag

This commit is contained in:
Pierre Schweitzer 2018-10-05 21:17:38 +02:00
parent 7fd2751c87
commit bd39459f89
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -329,6 +329,12 @@ CcPinRead (
if (iBcb == NULL)
{
/* We failed to find an already existing BCB */
if (BooleanFlagOn(Flags, PIN_IF_BCB))
{
return FALSE;
}
/* Map first */
if (!CcpMapData(SharedCacheMap, FileOffset, Length, Flags, Bcb, Buffer))
{