Re: A question about PROT_NONE on Sparc and Sparc64
Jamie Lokier <[email protected]>
| Newsgroups | gmane.linux.ports.ultrapenguin,gmane.linux.ports.sparc,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
David S. Miller wrote: > On Wed, 30 Jun 2004 04:28:05 -0400 > Jakub Jelinek <[email protected]> wrote: > > > I believe R!X and X!R pages ought to be possible on sparc64 too, > > just use a different bit as "read" in the fast ITLB miss handler > > from the one fast DTLB miss uses. > > That's correct. But I have no plans to implement this > any time soon :-) The PaX security patch already implements R!X pages on Sparc64, so you could just cut out that part of the patch. Just pick out the changes to arch/sparc64/* and include/asm-sparc64/*: http://pax.grsecurity.net/pax-linux-2.6.7-200406252135.patch It appears to use exactly the technique Jakub describes, and has been tested. -- Jamie - To unsubscribe from this list: send the line "unsubscribe ultralinux" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html