Coder's Guild Mailing List

Re: Write permission in x86 PMode

Posted by Computer Consultant on 1999-03-21

Write to it, if your program crashes, you don't!
Well, if you have the memory location, is this memory location
a physical address?  Your program can only see addresses that
are assgined to it in the LDT and GDT and they are all logical
addresses.  If it's a physical address you're tring to write to,
you would need to find the descriptor in the LDT/GDT that has it
and then use the selector and write to it's logical address.

What exactly is the situtation.

At 03:06 PM 3/21/99 +0100, you wrote:
>How can I check if I have write permission to a given memory location?
>
>
>
>
                +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
                | http://www.nauticom.net/www/secret  |
                +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
3%