/linux/arch/x86/include/asm/ |
A D | stackprotector.h | 57 BUILD_BUG_ON(offsetof(struct fixed_percpu_data, stack_canary) != 40); in boot_init_stack_canary() 70 current->stack_canary = canary; in boot_init_stack_canary() 72 this_cpu_write(fixed_percpu_data.stack_canary, canary); in boot_init_stack_canary() 81 per_cpu(fixed_percpu_data.stack_canary, cpu) = idle->stack_canary; in cpu_init_stack_canary() 83 per_cpu(__stack_chk_guard, cpu) = idle->stack_canary; in cpu_init_stack_canary()
|
A D | processor.h | 440 unsigned long stack_canary; member
|
/linux/arch/xtensa/include/asm/ |
A D | stackprotector.h | 36 current->stack_canary = canary; in boot_init_stack_canary() 37 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/arch/mips/include/asm/ |
A D | stackprotector.h | 37 current->stack_canary = canary; in boot_init_stack_canary() 38 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/arch/arm/include/asm/ |
A D | stackprotector.h | 39 current->stack_canary = canary; in boot_init_stack_canary() 41 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/arch/sh/include/asm/ |
A D | stackprotector.h | 25 current->stack_canary = canary; in boot_init_stack_canary() 26 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/arch/csky/include/asm/ |
A D | stackprotector.h | 25 current->stack_canary = canary; in boot_init_stack_canary() 26 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/arch/riscv/include/asm/ |
A D | stackprotector.h | 26 current->stack_canary = canary; in boot_init_stack_canary() 28 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/drivers/misc/lkdtm/ |
A D | bugs.c | 155 static unsigned long stack_canary; variable 169 if (*canary == current->stack_canary) in __lkdtm_REPORT_STACK_CANARY() 171 if (*canary == init_task.stack_canary) in __lkdtm_REPORT_STACK_CANARY() 197 stack_canary = *canary; in __lkdtm_REPORT_STACK_CANARY() 211 if (*canary == stack_canary) { in __lkdtm_REPORT_STACK_CANARY()
|
/linux/arch/arm64/include/asm/ |
A D | stackprotector.h | 38 current->stack_canary = canary; in boot_init_stack_canary() 40 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux/arch/powerpc/include/asm/ |
A D | stackprotector.h | 32 current->stack_canary = canary; in boot_init_stack_canary()
|
/linux/arch/x86/kernel/ |
A D | asm-offsets_64.c | 60 DEFINE(stack_canary_offset, offsetof(struct fixed_percpu_data, stack_canary)); in main()
|
A D | asm-offsets.c | 37 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common()
|
/linux/arch/sh/kernel/ |
A D | process_32.c | 155 __stack_chk_guard = next->stack_canary; in __switch_to()
|
/linux/arch/xtensa/kernel/ |
A D | asm-offsets.c | 80 DEFINE(TASK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
|
/linux/arch/arm/kernel/ |
A D | asm-offsets.c | 41 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
|
/linux/arch/arm64/kernel/ |
A D | asm-offsets.c | 44 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
|
/linux/arch/mips/kernel/ |
A D | asm-offsets.c | 86 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary); in output_task_defines()
|
/linux/arch/riscv/kernel/ |
A D | asm-offsets.c | 73 OFFSET(TSK_STACK_CANARY, task_struct, stack_canary); in asm_offsets()
|
/linux/arch/powerpc/kernel/ |
A D | asm-offsets.c | 82 OFFSET(TASK_CANARY, task_struct, stack_canary); in main()
|
/linux/include/linux/ |
A D | sched.h | 946 unsigned long stack_canary; member
|
/linux/kernel/ |
A D | fork.c | 934 tsk->stack_canary = get_random_canary(); in dup_task_struct()
|