This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] make PowerPC64 default to nonexecutable stack
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Steve Munroe <sjmunroe at us dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, rsa at linux dot vnet dot ibm dot com
- Date: Tue, 28 Dec 2010 17:32:04 +0100
- Subject: Re: [PATCH] make PowerPC64 default to nonexecutable stack
- References: <1292463806.18510.14.camel@localhost.localdomain><m2oc88bjd9.fsf@whitebox.home><OF7F9EF54C.9EDA8E32-ON86257806.0058D753-86257806.0059288C@us.ibm.com><m2y67b9k7k.fsf@whitebox.home><OF453161A3.C21DC17B-ON86257807.00519E99-86257807.005215ED@us.ibm.com>
Steve Munroe <sjmunroe@us.ibm.com> writes:
> I would think the point of check-execstack is to check for GNU_STACK on
> arches that need explicit noexec-stack. Not to report false failures for
> arches that are always noexec-stack and never need GNU_STACK.
No, the point is to report _true_ failures. Failures to maintain a
non-executable stack.
> It is an long standing agreement between Roland and Alan Modra that
> PowerPC64 does not need GNU_STACK.
*Every* architecture needs GNU_STACK, to signal stack segment flags
different from the default.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."