From: Tejun Heo Date: Mon, 9 Feb 2009 13:17:40 +0000 (+0900) Subject: x86: no stack protector for vdso X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d627ded5ab2f7818154d57369e3a8cdb40db2569;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git x86: no stack protector for vdso Impact: avoid crash on vsyscall Signed-off-by: Tejun Heo Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile index 4d6ef0a336d..16a9020c8f1 100644 --- a/arch/x86/vdso/Makefile +++ b/arch/x86/vdso/Makefile @@ -38,7 +38,7 @@ $(obj)/%.so: $(obj)/%.so.dbg FORCE $(call if_changed,objcopy) CFL := $(PROFILING) -mcmodel=small -fPIC -O2 -fasynchronous-unwind-tables -m64 \ - $(filter -g%,$(KBUILD_CFLAGS)) + $(filter -g%,$(KBUILD_CFLAGS)) $(call cc-option, -fno-stack-protector) $(vobjs): KBUILD_CFLAGS += $(CFL)