Commit f96645e4 authored by Keith M. Wesolowski's avatar Keith M. Wesolowski

[SPARC32]: Don't allow the kernel to read PAGE_NONE pages.

parent e6e4981b
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
* enforce all the protection levels that vma's can have. * enforce all the protection levels that vma's can have.
* XXX But for now... * XXX But for now...
*/ */
#define SRMMU_PAGE_NONE __pgprot(SRMMU_VALID | SRMMU_CACHE | \ #define SRMMU_PAGE_NONE __pgprot(SRMMU_CACHE | \
SRMMU_PRIV | SRMMU_REF) SRMMU_PRIV | SRMMU_REF)
#define SRMMU_PAGE_SHARED __pgprot(SRMMU_VALID | SRMMU_CACHE | \ #define SRMMU_PAGE_SHARED __pgprot(SRMMU_VALID | SRMMU_CACHE | \
SRMMU_EXEC | SRMMU_WRITE | SRMMU_REF) SRMMU_EXEC | SRMMU_WRITE | SRMMU_REF)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment