From owner-freebsd-arch Sat Jun 29 19:40:22 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECAD037B400 for ; Sat, 29 Jun 2002 19:40:20 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EAFE43E0A for ; Sat, 29 Jun 2002 19:40:20 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.4/8.12.2) with ESMTP id g5U2eKtL051275; Sat, 29 Jun 2002 19:40:20 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.4/Submit) id g5U2eJSk051274; Sat, 29 Jun 2002 19:40:19 -0700 (PDT) Date: Sat, 29 Jun 2002 19:40:19 -0700 From: "David O'Brien" To: Terry Lambert Cc: Bill Huey , Jake Burkholder , arch@FreeBSD.ORG Subject: Re: Time to make the stack non-executable? Message-ID: <20020629194019.B51177@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG Mail-Followup-To: David O'Brien , Terry Lambert , Bill Huey , Jake Burkholder , arch@FreeBSD.ORG References: <3D1E28ED.B67A5271@FreeBSD.org> <3D1E3126.C96FFAA5@mindspring.com> <20020629185554.I71376@locore.ca> <20020629232603.GA1361@gnuppy.monkey.org> <3D1E55E5.998DCEBA@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D1E55E5.998DCEBA@mindspring.com>; from tlambert2@mindspring.com on Sat, Jun 29, 2002 at 05:50:45PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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"). Send a set of patches to the various crt1's and I can add the GCC option so we can test this out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message