Subject: Re: non executable stack
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 02/02/2003 20:18:14
On Sun, Feb 02, 2003 at 02:35:55PM -0500, Nathan J. Williams wrote:
> manu@netbsd.org (Emmanuel Dreyfus) writes:
> 
> > - i386 is unable to have a non executable page which is writable.
> 
> Readable. On i386, readability of a page implies executability. I
> think the same is true of arm32, m68k, mips, sh3, vax, and x86-64.

On i386, could you exclude the stack from the page tables
accessable through %cs?
That ought to stop it being executable.

	David

-- 
David Laight: david@l8s.co.uk