MmProbeAndLockPages ([ntdev] Converting MDL from NonPagedPool to Locked? spinoff)

Hello,

OK, if noone is willing to answer, or maybe not even see the question,
I’m going to ask again:

Why the MmProbeAndLockPages documentation in the ddk states:
“The routine then confirms that the pages permit the operation specified by
the Operation parameter.”

when it is not true for kernel memory?

I was confused a lot in the past which led me to disassembly. The
function refused to BSOD even when i specified
IoModifyAccess/IoWriteAccess on kernel memory. Now another OP asks
similar question and again noone is able (or willing?) to clarify.

So is this a bug in the ddk or am i not seeing something obvious
here?


Best regards,
Ivona Prenosilova