Messages in this thread | | | Date | Fri, 05 Dec 2014 13:41:08 -0800 | From | David Daney <> | Subject | Re: [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
| |