Re: StackProtector Oopses - Re: 2.6.25-mm1

From: Ingo Molnar
Date: Fri Apr 18 2008 - 09:37:20 EST



* Reuben Farrelly <reuben-linuxkernel@xxxxxxxx> wrote:

> is enough to prevent my system booting, viz:

hm, does it boot up fine with the attached patch and stackprotector
enabled? It appears that your system got to the self-test so
stackprotector is working mostly - it's just that the self-test went
wrong.

Ingo

----------------->
Subject: x86: disable stackprotector selftest
From: Ingo Molnar <mingo@xxxxxxx>
Date: Fri Apr 18 15:21:49 CEST 2008

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
kernel/panic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-x86.q/kernel/panic.c
===================================================================
--- linux-x86.q.orig/kernel/panic.c
+++ linux-x86.q/kernel/panic.c
@@ -394,5 +394,5 @@ void __stack_chk_fail(void)
}
EXPORT_SYMBOL(__stack_chk_fail);

-late_initcall(__stack_chk_test);
+/* late_initcall(__stack_chk_test); */
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/