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

[Xen-changelog] [xen-unstable] MiniOS: no-stack-protector added to the cflags if needed,



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1191942410 -3600
# Node ID dcab07f0776de86c71a60f2afc2a9a10ad84c553
# Parent  a18dbd4a96e68456dc0e2db3dc1268fce914dd40
MiniOS: no-stack-protector added to the cflags if needed,
and the default domain config file fixed.

From: Grzegorz Milos <gm281@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 extras/mini-os/domain_config |    2 +-
 extras/mini-os/minios.mk     |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -r a18dbd4a96e6 -r dcab07f0776d extras/mini-os/domain_config
--- a/extras/mini-os/domain_config      Tue Oct 09 16:05:43 2007 +0100
+++ b/extras/mini-os/domain_config      Tue Oct 09 16:06:50 2007 +0100
@@ -8,7 +8,7 @@
 
 #----------------------------------------------------------------------------
 # Kernel image file.
-kernel = "mini-os.elf"
+kernel = "mini-os.gz"
 
 # Initial memory allocation (in megabytes) for the new domain.
 memory = 32
diff -r a18dbd4a96e6 -r dcab07f0776d extras/mini-os/minios.mk
--- a/extras/mini-os/minios.mk  Tue Oct 09 16:05:43 2007 +0100
+++ b/extras/mini-os/minios.mk  Tue Oct 09 16:06:50 2007 +0100
@@ -7,6 +7,7 @@ debug = y
 # Define some default flags.
 # NB. '-Wcast-qual' is nasty, so I omitted it.
 DEF_CFLAGS := -fno-builtin -Wall -Werror -Wredundant-decls -Wno-format
+DEF_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
 DEF_CFLAGS += -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline
 DEF_CFLAGS += -D__XEN_INTERFACE_VERSION__=$(XEN_INTERFACE_VERSION)
 

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


 


Rackspace

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