WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/3] Add support for OpenBSD

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] Add support for OpenBSD
From: Anil Madhavapeddy <anil@xxxxxxxxxxxxx>
Date: Wed, 18 Oct 2006 17:34:09 +0100
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Oct 2006 09:30:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15C146D.2BEB%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C15C146D.2BEB%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 18 Oct 2006, at 17:27, Keir Fraser wrote:

On 18/10/06 17:17, "Anil Madhavapeddy" <anil@xxxxxxxxxxxxx> wrote:

I applied your second patch, but not the third (SSP/ProPolice) one
as I
don't understand why it's needed. If there's some extra magic in
OpenBSD's
gcc, I hope there is a flag we can specify to turn it off for the
hypervisor
itself.

It's enabled by default in OpenBSD's modified gcc-3.3.5, turn it off
with CFLAGS+= -fno-stack-protector

We have that already in arch/x86/Rules.mk. If that was working, I doubt
Christoph would have gone to the trouble of hacking up the SSP goop.


That flag definitely works.

I think Christoph wanted to get stack protection working, as all the other OpenBSD bits (kernel/userland) use it. There isn't much to it beyond adding the stack smash handler, and the stack frame format changes a bit...

-anil


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel