Re: [PATCH] (IA64) Fix ugly __[PS]* macros in <asm-ia64/pgtable.h>

From: David Mosberger
Date: Wed Apr 14 2004 - 15:07:18 EST


>>>>> On Wed, 14 Apr 2004 20:28:44 +0100, Jamie Lokier <jamie@xxxxxxxxxxxxx> said:

>> I know why: back in those days, GCC emitted code for nested C
>> functions that assumed an executable stack. Also, Linus wasn't
>> terribly eager to turn off execute-permission on data/stacks.
>> Even on ia64 we started out that way, until I saw the error in my
>> ways.

Jamie> We're both wrong.

No, Alpha Linux didn't map data without execute permission.

Jamie> What it doesn't have is write-only.

Yes, that one is because earlier Alphas couldn't do subword stores, so
WRITE-permission necessitated READ-permission.

--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/