From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1420 Path: news.gmane.org!not-for-mail From: Nathan McSween Newsgroups: gmane.linux.lib.musl.general Subject: Re: noexecstack Date: Sun, 5 Aug 2012 15:01:08 -0700 Message-ID: References: <20120805214624.GL544@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344204081 21591 80.91.229.3 (5 Aug 2012 22:01:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2012 22:01:21 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1421-gllmg-musl=m.gmane.org@lists.openwall.com Mon Aug 06 00:01:22 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Sy8sz-0000XL-OW for gllmg-musl@plane.gmane.org; Mon, 06 Aug 2012 00:01:21 +0200 Original-Received: (qmail 3324 invoked by uid 550); 5 Aug 2012 22:01:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3316 invoked from network); 5 Aug 2012 22:01:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=sLtgzuHjk4JDtuHn57TnxSRJ16wzlYBjDXiXoUGGuNQ=; b=ioRXWchWfu9uPdD1s5K6vTgePwFtatXWOEDNs4sThc+oZ2g1fFAUy6UZR80yp/o8CR 3HvRlAeKTK0WxyDh911hMF/hWRe2vk6Ur594UBVCQV2DzUixiM5Aiqp417uJjAC4MiUE 6U8PHcVM2w5qe+VmmE5V1ntAAjKKnSZayKC85P1xsKPd7B/qPKoCfdlR3RXOm4Jtt/Js 47xerh3PCsOMZUp/CilllRKwKuP11wSCtxNyeuTKWugGjl/17btLp/NG/a/tPwUzCllM K5y8212MS3ygxnHX+oykLvMqJZ9KVkr8ARJgDPDhbtWNtbys2IPrJa7GXmMG2zGh9or6 PqoQ== In-Reply-To: <20120805214624.GL544@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:1420 Archived-At: On Sun, Aug 5, 2012 at 2:46 PM, Rich Felker wrote: > On Sun, Aug 05, 2012 at 11:35:36PM +0200, Daniel Cegie=C5=82ka wrote: >> Vasily Kulikov published a patch for nonexecutable stack for glibc in Ow= l. >> >> http://openwall.com/lists/owl-dev/2012/08/05/1 >> http://openwall.com/lists/owl-dev/2012/08/05/3 >> >> Should we support this in the musl? > > Yes, but there should be a way to do it without putting ugly stuff > like this in every single asm file. Why isn't there a command-line > option to the assembler to do it? Or a way to do it globally with > objcopy? > > Better yet, why is executable stack even still supported by Linux at > all? > > Rich GCC nested functions require executable stack and consequently quite a few GNU / bad projects utilize this 'feature'.