Module: xenomai-2.4 Branch: master Commit: 4b63d24c895c539c3ac32652254487bff51f9c51 URL: http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=4b63d24c895c539c3ac32652254487bff51f9c51
Author: Philippe Gerum <r...@xenomai.org> Date: Mon Dec 28 19:07:52 2009 +0100 x86_32: make sure CC_STACKPROTECTOR is disabled --- include/asm-x86/switch_32.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/asm-x86/switch_32.h b/include/asm-x86/switch_32.h index bfa0233..0827916 100644 --- a/include/asm-x86/switch_32.h +++ b/include/asm-x86/switch_32.h @@ -26,6 +26,11 @@ #error "Pure kernel header included from user-space!" #endif +#ifdef CONFIG_CC_STACKPROTECTOR +#warning "Buffer overflow detection not supported in 32bit mode" +#error "Disable CONFIG_CC_STACKPROTECTOR in your kernel configuration" +#endif + static inline void xnarch_switch_threads(xnarchtcb_t *out_tcb, xnarchtcb_t *in_tcb, struct task_struct *outproc, _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git