From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 6444DDDED4 for ; Tue, 10 Jul 2007 07:32:43 +1000 (EST) Message-ID: <4692A972.80402@freescale.com> Date: Mon, 09 Jul 2007 16:32:34 -0500 From: Scott Wood MIME-Version: 1.0 To: Scott Wood Subject: Re: [PATCH] Allow exec on 32-bit from readable, non-exec pages, with a warning. References: <20070709195743.GA26089@ld0162-tx32.am.freescale.net> <200707092225.25287.arnd@arndb.de> <4692A5B8.9010702@freescale.com> In-Reply-To: <4692A5B8.9010702@freescale.com> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Scott Wood wrote: > Arnd Bergmann wrote: >> I may be missing the obvious, but doesn't that defeat the purpose of >> non-executable mappings? > > > The hardware in question doesn't support non-executable mappings; > otherwise, it'd never have worked in the first place. Note that this is > only allowed on 32-bit, non-book-E. To be more precise, the classic MMU does appear to have non-exec functionality, but at the segment level, which is less than useful for implementing vma flags. -Scott