getting memory page attributes

From: Christian Hatt Jensen (u030333_at_daimi.au.dk)
Date: 04/12/05


Date: Tue, 12 Apr 2005 14:39:30 +0200

Hi

Does enyone know how to get the attributes of a memory page?

I am looking for somthing like mprotect(), but just to get the
attributes insted of setting them.

THANKS
Christian



Relevant Pages

  • Re: getting memory page attributes
    ... > Does enyone know how to get the attributes of a memory page? ... > I am looking for somthing like mprotect(), ...
    (comp.os.linux.development.apps)
  • Re: mprotect
    ... I'm having some trouble using mprotect. ... A short code snippet to give ... setting the memory to just PROT_EXEC with no luck... ...
    (comp.unix.programmer)
  • mmap + mprotect + malloc strange behaviour
    ... memory pages and needs to persist the modified pages ... its pages for both reading and writing using mprotect( ... 4 Intel Xeon processor machine with 4GB RAM + ... int main{ ...
    (Linux-Kernel)
  • Re: Understanding Linux addr space, malloc, and heap
    ... So if he calls mprotect with memory allocated by malloc (which should ... Alex Bligh ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: mprotect
    ... You are, OTOH, assuming that mprotect() only works on mmap'ed memory. ... mprotect cannot "decide to ignore" the request. ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.programmer)