lkml.org 
[lkml]   [2008]   [Apr]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 9 Apr 2008 02:59:18 -0400
From"Wei Hu" <>
SubjectOn 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


\
 
 \ /
  Last update: 2008-04-09 09:01    [from the cache]
©2003-2008