[NTOSKRNL] Fail on pinning when there's no pin access set
authorPierre Schweitzer <pierre@reactos.org>
Sat, 1 Sep 2018 10:39:05 +0000 (12:39 +0200)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 1 Sep 2018 10:41:01 +0000 (12:41 +0200)
commitf96f1224a7979b40cded4cbe73c6dfa057fb4ae1
tree5c207230e04790327ed4ad5bf29cabc56400fd80
parenta4dc3c49636ff97af166184544dbe081c465ff60
[NTOSKRNL] Fail on pinning when there's no pin access set

Instead of assert, now, CcPinRead will just fail. This is
not consistent without Windows behavior, but still better
than asserting while testing!
ntoskrnl/cc/pin.c