Messages in this thread | | | Subject | RE: Non-Exec stack patches | Date | Wed, 14 Apr 2004 01:45:58 -0700 | From | "Siddha, Suresh B" <> |
| |
Jamie Lokier wrote: > Has the meaning of PAGE_COPY in asm-ia64/pgtable.h changed in > 2.6.5-mm5?
Yes. Kurt's recent patch for parsing PT_GNU_STACK section introduced this change.
Here is the relevant hunk. -#define PAGE_COPY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX) +#define PAGE_COPY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R) +#define PAGE_COPY_EXEC __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX)
> > If so, you want to change __P110 as well as __P111.
No. Only EXEC bit is the difference.
thanks, suresh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |