[PATCH] Allow exec on 32-bit from readable, non-exec pages, with a warning.

Segher Boessenkool segher at kernel.crashing.org
Tue Jul 10 23:08:53 EST 2007

>> I may be missing the obvious, but doesn't that defeat the purpose of
>> non-executable mappings?
> The hardware in question doesn't support non-executable mappings;

Not on a per-page basis, anyway.

> otherwise, it'd never have worked in the first place.  Note that  
> this is
> only allowed on 32-bit, non-book-E.
> There isn't much value in enforcing non-exec mappings only if it  
> happens
> to be the first fault on a given page.

Yeah.  Giving the warning is a good thing though.


More information about the Linuxppc-dev mailing list