How can you write from a driver to user mode allocated read only memory?

Re: Memory access by James

James
Mon Mar 01 19:20:13 CST 2004

Theoretically, a driver can do almost anything it wants. The question is, Do
you want to in this case? Have you considered there might be a good reason
for the memory to be read-only?

--
James Antognini
Windows DDK Support

This posting is provided "AS IS" with no warranties, and confers no rights.

"Alex" <AlX@a> wrote in message
news:%23aL$Jbj$DHA.712@tk2msftngp13.phx.gbl...
> How can you write from a driver to user mode allocated read only memory?
>
>



Re: Memory access by Alex

Alex
Mon Mar 01 19:44:28 CST 2004

Teoretical research only...learning if you want
I allready know a way, just want to see another answers...

"James Antognini [MSFT]" <jantogni@online.microsoft.com> wrote in message
news:e9q8AS$$DHA.3220@TK2MSFTNGP10.phx.gbl...
> Theoretically, a driver can do almost anything it wants. The question is,
Do
> you want to in this case? Have you considered there might be a good reason
> for the memory to be read-only?
>
> --
> James Antognini
> Windows DDK Support
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Alex" <AlX@a> wrote in message
> news:%23aL$Jbj$DHA.712@tk2msftngp13.phx.gbl...
> > How can you write from a driver to user mode allocated read only memory?
> >
> >
>
>



Re: Memory access by Alex

Alex
Mon Mar 01 20:30:31 CST 2004

IoAllocateMdl

MmProbeAndLockPages

MmMapLockedPagesSpecifyCache

.

.

.

"Alex" <AlX@a> wrote in message
news:ejzHtf$$DHA.3220@TK2MSFTNGP10.phx.gbl...
> Teoretical research only...learning if you want
> I allready know a way, just want to see another answers...
>
> "James Antognini [MSFT]" <jantogni@online.microsoft.com> wrote in message
> news:e9q8AS$$DHA.3220@TK2MSFTNGP10.phx.gbl...
> > Theoretically, a driver can do almost anything it wants. The question
is,
> Do
> > you want to in this case? Have you considered there might be a good
reason
> > for the memory to be read-only?
> >
> > --
> > James Antognini
> > Windows DDK Support
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
> > "Alex" <AlX@a> wrote in message
> > news:%23aL$Jbj$DHA.712@tk2msftngp13.phx.gbl...
> > > How can you write from a driver to user mode allocated read only
memory?
> > >
> > >
> >
> >
>
>