Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PROPOSAL/PATCH] Remove PT_GNU_STACK support before 2.6.11 | From | Arjan van de Ven <> | Date | Sun, 06 Feb 2005 13:40:22 +0100 |
| |
On Sun, 2005-02-06 at 13:33 +0100, Andi Kleen wrote: > > Your main objection is that *incorrect* programs that assume they can > > execute malloc() code without PROT_EXEC protection. For legacy binaries > > keeping this behavior makes sense, no objection from me. > > > > For newly compiled programs this is just wrong and incorrect. > > That's not true as the grub/mono/... experience shows.
both those apps are buggy and incorrect though and should be fixed.
> > You mention grub (which has RWE and the patch below thus makes that work) > > and mono. mono has patches for this on their mailinglist and bugzilla since > > 2003 according to google, I'm surprised the novell mono guys haven't fixed > > this bug in their code. > > There are probably more.
I consider that unlikely. Anything remotely portable (either to other architectures which required since in linux since day one, or to OpenBSD or similar which require this even for x86) already is correct. And this is there since 2.6.6.. it's not like this is new
(and for the non-RWE case, fedora has had this behavior all along with execshield, and that even lead to a patch to fix mono fwiw)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |