How to make a shared resource (a memory buffer), which can be accessed only by a ring3 app or ring 0 code at a time? I need something like ring3 - ring 0 mutex and ring 3 - ring 0 pipe.
Posted on 2002-09-24 11:49:51 by Vaxon
You could use/hook PageAllocate to alloc a buffer in the shared address space.
Posted on 2002-09-24 11:53:59 by Axial
Yes, I can do that. But besides I want to forbid access to that memory block for a ring 3 app (to block ring 3 app), while vxd uses it and vice versa: to forbid a vxd to use the block, while ring 3 app uses it.
Posted on 2002-09-24 13:08:47 by Vaxon
Well, I forgot to say that you could setup a hook of PageModifyPermission so that *only* your specified app may access your allocated region...
Posted on 2002-09-24 13:51:56 by Axial