lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54822674.20907@gmail.com>
Date:	Fri, 05 Dec 2014 13:41:08 -0800
From:	David Daney <ddaney.cavm@...il.com>
To:	Christoph Lameter <cl@...ux.com>
CC:	Kees Cook <keescook@...omium.org>,
	Leonid Yegoshin <Leonid.Yegoshin@...tec.com>,
	Linux MIPS Mailing List <linux-mips@...ux-mips.org>,
	Zubair.Kakakhel@...tec.com, geert+renesas@...der.be,
	david.daney@...ium.com, Peter Zijlstra <peterz@...radead.org>,
	Paul Gortmaker <paul.gortmaker@...driver.com>,
	davidlohr@...com, "Maciej W. Rozycki" <macro@...ux-mips.org>,
	chenhc@...ote.com, Ingo Molnar <mingo@...nel.org>,
	Richard Weinberger <richard@....at>,
	Rafał Miłecki <zajec5@...il.com>,
	James Hogan <james.hogan@...tec.com>,
	Tejun Heo <tj@...nel.org>, alex@...x-smith.me.uk,
	Paolo Bonzini <pbonzini@...hat.com>,
	John Crispin <blogic@...nwrt.org>,
	Paul Burton <paul.burton@...tec.com>, qais.yousef@...tec.com,
	LKML <linux-kernel@...r.kernel.org>,
	Ralf Baechle <ralf@...ux-mips.org>,
	Markos Chandras <markos.chandras@...tec.com>,
	dengcheng.zhu@...tec.com, manuel.lauss@...il.com,
	lars.persson@...s.com
Subject: Re: [PATCH v3 3/3] MIPS: set stack/data protection as non-executable

On 12/05/2014 11:44 AM, Christoph Lameter wrote:
> On Fri, 5 Dec 2014, David Daney wrote:
>
>> The problem is not with "modern" executables that are properly annotated with
>> PT_GNU_STACK.
>>
>> My objection is to the intentional breaking of old executables that have no
>> PT_GNU_STACK annotation, but require an executable stack.  Since we usually
>> try not to break userspace, we cannot merge a patch like this one.
>
> How old are these and how many are still around?

As far as I can determine, no official GCC release defaults to 
generating PT_GNU_STACK for MIPS, I could be mistaken though.  So to 
answer your questions:  Very young, and all of them.


> Can the annotation be added with a tool?

I don't know, although I seem to recall that such a tool existed, and I 
may have even used it in the past.  But, my google fu is not 
sufficiently advanced to find it now, if it exists.

David Daney

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ