Re: [PROPOSAL/PATCH] Remove PT_GNU_STACK support before 2.6.11
From: Linus Torvalds
Date: Sun Feb 06 2005 - 13:07:02 EST
On Sun, 6 Feb 2005, Arjan van de Ven wrote:
> > And if you want to split things up, there's at least three flags there:
> > "stack" vs "file mapping" vs "anonymous mapping". For example, it might
> lets add "brk" as 4th I guess.
I thought about that, but no normal user program uses brk() natively. They
all just use "malloc()" and friends, and pretty much every implementation
of those in turn just mixes brk/anon-mmap freely.
> Ok so what to do for 2.6.11... the setarch workaround is there; that
> works. My patch patches the worst issues and is quite minimal. What you
> propose will be more invasive and more suitable for 2.6.11-bk1...
> I can do such a patch no problem (although the next two days I won't
> have time).
Hmm.. I can take your initial patch now. Can somebody explain why this
hassn't come up before, though?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/