[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5be025980804082359i125deasfd2e34a3c51f8524@mail.gmail.com>
Date: Wed, 9 Apr 2008 02:59:18 -0400
From: "Wei Hu" <glegoo@...il.com>
To: linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists