* On what archs are PROT_READ and PROT_EXEC independent?
@ 2008-04-09 6:59 Wei Hu
0 siblings, 0 replies; only message in thread
From: Wei Hu @ 2008-04-09 6:59 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-09 6:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09 6:59 On what archs are PROT_READ and PROT_EXEC independent? Wei Hu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®