|
@@ -91,6 +91,9 @@ int main(void)
|
|
|
DEFINE(TI_livepatch_sp, offsetof(struct thread_info, livepatch_sp));
|
|
DEFINE(TI_livepatch_sp, offsetof(struct thread_info, livepatch_sp));
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+#ifdef CONFIG_CC_STACKPROTECTOR
|
|
|
|
|
+ DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary));
|
|
|
|
|
+#endif
|
|
|
DEFINE(KSP, offsetof(struct thread_struct, ksp));
|
|
DEFINE(KSP, offsetof(struct thread_struct, ksp));
|
|
|
DEFINE(PT_REGS, offsetof(struct thread_struct, regs));
|
|
DEFINE(PT_REGS, offsetof(struct thread_struct, regs));
|
|
|
#ifdef CONFIG_BOOKE
|
|
#ifdef CONFIG_BOOKE
|