[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.