lkml.org 
[lkml]   [2014]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 3/3] MIPS: set stack/data protection as non-executable
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



\
 
 \ /
  Last update: 2014-12-05 23:21    [W:0.571 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site