From owner-freebsd-sparc Sat Oct 26 19:28:49 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9818E37B401 for ; Sat, 26 Oct 2002 19:28:48 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id F294A43E4A for ; Sat, 26 Oct 2002 19:28:47 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.5/8.12.5) with ESMTP id g9R2edbd007817; Sat, 26 Oct 2002 22:40:39 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.5/8.12.5/Submit) id g9R2edD8007816; Sat, 26 Oct 2002 22:40:39 -0400 (EDT) Date: Sat, 26 Oct 2002 22:40:39 -0400 From: Jake Burkholder To: John Polstra Cc: sparc@FreeBSD.ORG Subject: Re: Is the sparc64 stack segment executable? Message-ID: <20021026224039.F89245@locore.ca> References: <200210262328.g9QNSrkn045622@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200210262328.g9QNSrkn045622@vashon.polstra.com>; from jdp@polstra.com on Sat, Oct 26, 2002 at 04:28:53PM -0700 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Sat, Oct 26, 2002 at 04:28:53PM -0700, John Polstra said words to the effect of; > Answering my own questions ... > > In article , > John Polstra wrote: > > Is the stack segment on FreeBSD/sparc64 executable? > > No. > > > Next question: Assuming the stack is not executable by default, would > > it work for the application to make it executable using mprotect? > > Yes. Gcc is not generating the calls to mprotect. Its a simple fix, I'll try to get it committed and get gcc on panther upgraded as soon as I can. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message