Re: [PATCH v3 3/3] MIPS: set stack/data protection as non-executable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/05/2014 11:44 AM, Christoph Lameter wrote:
On Fri, 5 Dec 2014, David Daney wrote:

The problem is not with "modern" executables that are properly annotated with
PT_GNU_STACK.

My objection is to the intentional breaking of old executables that have no
PT_GNU_STACK annotation, but require an executable stack.  Since we usually
try not to break userspace, we cannot merge a patch like this one.

How old are these and how many are still around?

As far as I can determine, no official GCC release defaults to generating PT_GNU_STACK for MIPS, I could be mistaken though. So to answer your questions: Very young, and all of them.


Can the annotation be added with a tool?

I don't know, although I seem to recall that such a tool existed, and I may have even used it in the past. But, my google fu is not sufficiently advanced to find it now, if it exists.

David Daney






[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux