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

Kumar Gala galak at kernel.crashing.org
Wed Jul 18 02:30:58 EST 2007


On Jul 17, 2007, at 10:18 AM, Segher Boessenkool wrote:

>>>>> Yeah.  Giving the warning is a good thing though.
>>>>
>>>> No, it isn't; it's just noise, if we're not ever going to do
>>>> anything
>>>> to prevent the behaviour - and we can't.
>>>
>>> The same userland code will not run correctly on PPC64 or BookE
>>> systems.  Is that not a reason to warn?
>>
>> Way back when, I distinctly recall aborting my plans to implement
>> per-page exec on 40x, precisely because of executables like this.
>
> I noticed some comments to that effect in the BookE code,
> yes.  It seems userland has been fixed enough that you
> could think about enabling it again FWIW.

Did I miss the posting of the patch with the fix?

- k



More information about the Linuxppc-dev mailing list