diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-03 14:52:24 +0930 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-04 11:50:06 -0700 |
commit | 2cb7878a3a4341d1faa208de962d66f0817d3e7a (patch) | |
tree | 6639c4dcce9f213a58144e0c0431a339b69c42b2 /arch/x86/lguest/Makefile | |
parent | 9fa7eb283c5cdc2b0f4a8cfe6387ed82e5e9a3d3 (diff) | |
download | kernel_samsung_smdk4412-2cb7878a3a4341d1faa208de962d66f0817d3e7a.zip kernel_samsung_smdk4412-2cb7878a3a4341d1faa208de962d66f0817d3e7a.tar.gz kernel_samsung_smdk4412-2cb7878a3a4341d1faa208de962d66f0817d3e7a.tar.bz2 |
lguest: fix 'unhandled trap 13' with CONFIG_CC_STACKPROTECTOR
We don't set up the canary; let's disable stack protector on boot.c so
we can get into lguest_init, then set it up. As a side effect,
switch_to_new_gdt() sets up %fs for us properly too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/lguest/Makefile')
-rw-r--r-- | arch/x86/lguest/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lguest/Makefile b/arch/x86/lguest/Makefile index 27f0c9e..94e0e54 100644 --- a/arch/x86/lguest/Makefile +++ b/arch/x86/lguest/Makefile @@ -1 +1,2 @@ obj-y := i386_head.o boot.o +CFLAGS_boot.o := $(call cc-option, -fno-stack-protector) |