Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2005 14:12:57 +0000
From:      db <db@traceroute.dk>
To:        Jimmy Scott <jimmy@inet-solutions.be>, freebsd-security@freebsd.org
Subject:   Re: Non-executable stack
Message-ID:  <200510291412.57656.db@traceroute.dk>
In-Reply-To: <20051029131519.GA22254@ada.devbox.be>
References:  <200510270608.51571.db@traceroute.dk> <200510291242.16461.db@traceroute.dk> <20051029131519.GA22254@ada.devbox.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 29 October 2005 13:15, you wrote:
> The thing you are refering to is W^X using the NXE register of the amd64
> if I'm not mistaken, marking memory pages as writable or executable,
> but not both. (The thing also works on i386 using an ugly hack).

Yeah. Memory on ia32 can be writable and readable. When it is readable it is 
also executable. On other arch's like AMD64 and IA64, I believe memory can be 
readable, writable and executable. Therefore I would like to remove the 
executable bit on the stack and heap for the systems supporting it.

br
db



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510291412.57656.db>