Messages in this thread |  | | | Date | Wed, 9 Apr 2008 02:59:18 -0400 | | From | "Wei Hu" <> | | Subject | On what archs are PROT_READ and PROT_EXEC independent? | |
Hello,
I know that newer Intel and AMD CPUs support readable and
non-executable pages. But from my tests, if I use mprotect() to set a
page's permission to be PROT_EXEC, that page is still readable. I'm
wondering what architectures implement these flags independently? Is
it possible to get executable and non-readable pages?
Thanks,
Wei
|  |