Date: Sat, 29 Jun 2002 23:31:57 -0700 From: Arun Sharma <arun@sharma-home.net> To: Terry Lambert <tlambert2@mindspring.com> Cc: arch@FreeBSD.ORG Subject: Re: Time to make the stack non-executable? Message-ID: <20020630063157.GA16963@sharma-home.net> In-Reply-To: <3D1E55E5.998DCEBA@mindspring.com> References: <3D1E28ED.B67A5271@FreeBSD.org> <3D1E3126.C96FFAA5@mindspring.com> <20020629185554.I71376@locore.ca> <20020629232603.GA1361@gnuppy.monkey.org> <3D1E55E5.998DCEBA@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 29, 2002 at 05:50:45PM -0700, Terry Lambert wrote: > One way to potentially work around this is to allow the stack > pages to be marked executable by explicit linking with an > alternate crt0.o, or, more usefully, by way of an attribute on > the file (e.g. a "chflags"). Linux IA64 took the chflags approach. David Mosberger called it chatr (there is HP-UX utility of the same name). Basically a elf header flag is used to tell the kernel that the stack needs to be executable. XFree86 had to be chatr'ed this way. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020630063157.GA16963>