From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 35E69A88 for ; Mon, 23 Jan 2017 23:35:22 +0000 (UTC) Received: from icp-osb-irony-out5.external.iinet.net.au (icp-osb-irony-out5.external.iinet.net.au [203.59.1.221]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 47D3816F for ; Mon, 23 Jan 2017 23:35:20 +0000 (UTC) To: David Howells , Andy Lutomirski References: <31033.1485168526@warthog.procyon.org.uk> <5024.1485203788@warthog.procyon.org.uk> From: Greg Ungerer Message-ID: <811e58f6-0475-e9cd-f136-9a4504073df1@westnet.com.au> Date: Tue, 24 Jan 2017 09:26:03 +1000 MIME-Version: 1.0 In-Reply-To: <5024.1485203788@warthog.procyon.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Josh Armour , Greg KH , "ksummit-discuss@lists.linuxfoundation.org" , "linux-mm@kvack.org" Subject: Re: [Ksummit-discuss] security-related TODO items? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 24/01/17 06:36, David Howells wrote: > Andy Lutomirski wrote: [snip] >>> (6) NOMMU could be particularly tricky. For ELF-FDPIC at least, the stack >>> size is set in the binary. OTOH, you wouldn't have to relocate the >>> pre-loader - you'd just mmap it MAP_PRIVATE and execute in place. >> >> For nommu, forget about it. > > Why? If you do that, you have to have bimodal binfmts. Note that the > ELF-FDPIC binfmt, at least, can be used for both MMU and NOMMU environments. > This may also be true of FLAT. It is true for FLAT as well, they can run on both MMU an noMMU. Regards Greg