]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/kernel/asm-offsets.c
powerpc/32: add stack protector support
[linux.git] / arch / powerpc / kernel / asm-offsets.c
index 89cf15566c4e80ba4e81d500e1d86f204e1241b2..9e9ee168e177e5a22a12e9b2446d1d509baf6d40 100644 (file)
@@ -79,6 +79,9 @@ int main(void)
 {
        OFFSET(THREAD, task_struct, thread);
        OFFSET(MM, task_struct, mm);
+#ifdef CONFIG_STACKPROTECTOR
+       OFFSET(TASK_CANARY, task_struct, stack_canary);
+#endif
        OFFSET(MMCONTEXTID, mm_struct, context.id);
 #ifdef CONFIG_PPC64
        DEFINE(SIGSEGV, SIGSEGV);