From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1419 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: noexecstack Date: Sun, 5 Aug 2012 17:46:25 -0400 Message-ID: <20120805214624.GL544@brightrain.aerifal.cx> References: 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: 8bit X-Trace: dough.gmane.org 1344203162 15057 80.91.229.3 (5 Aug 2012 21:46:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2012 21:46:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1420-gllmg-musl=m.gmane.org@lists.openwall.com Sun Aug 05 23:46:00 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 1Sy8e7-0006hF-1E for gllmg-musl@plane.gmane.org; Sun, 05 Aug 2012 23:45:59 +0200 Original-Received: (qmail 28501 invoked by uid 550); 5 Aug 2012 21:45:58 -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 28493 invoked from network); 5 Aug 2012 21:45:58 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1419 Archived-At: On Sun, Aug 05, 2012 at 11:35:36PM +0200, Daniel Cegiełka wrote: > Vasily Kulikov published a patch for nonexecutable stack for glibc in Owl. > > 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