/linux-6.3-rc2/arch/x86/include/asm/ |
A D | stackprotector.h | 55 BUILD_BUG_ON(offsetof(struct fixed_percpu_data, stack_canary) != 40); in boot_init_stack_canary() 58 current->stack_canary = canary; in boot_init_stack_canary() 60 this_cpu_write(fixed_percpu_data.stack_canary, canary); in boot_init_stack_canary() 69 per_cpu(fixed_percpu_data.stack_canary, cpu) = idle->stack_canary; in cpu_init_stack_canary() 71 per_cpu(__stack_chk_guard, cpu) = idle->stack_canary; in cpu_init_stack_canary()
|
A D | processor.h | 391 unsigned long stack_canary; member
|
/linux-6.3-rc2/arch/xtensa/include/asm/ |
A D | stackprotector.h | 29 current->stack_canary = canary; in boot_init_stack_canary() 30 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A D | stackprotector.h | 17 current->stack_canary = canary; in boot_init_stack_canary() 18 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | stackprotector.h | 17 current->stack_canary = canary; in boot_init_stack_canary() 18 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | stackprotector.h | 30 current->stack_canary = canary; in boot_init_stack_canary() 31 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | stackprotector.h | 32 current->stack_canary = canary; in boot_init_stack_canary() 34 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/riscv/include/asm/ |
A D | stackprotector.h | 18 current->stack_canary = canary; in boot_init_stack_canary() 20 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | stackprotector.h | 34 current->stack_canary = canary; in boot_init_stack_canary() 35 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | stackprotector.h | 31 current->stack_canary = canary; in boot_init_stack_canary() 33 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/drivers/misc/lkdtm/ |
A D | bugs.c | 157 static unsigned long stack_canary; variable 171 if (*canary == current->stack_canary) in __lkdtm_REPORT_STACK_CANARY() 173 if (*canary == init_task.stack_canary) in __lkdtm_REPORT_STACK_CANARY() 199 stack_canary = *canary; in __lkdtm_REPORT_STACK_CANARY() 213 if (*canary == stack_canary) { in __lkdtm_REPORT_STACK_CANARY()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | stackprotector.h | 24 current->stack_canary = canary; in boot_init_stack_canary()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | asm-offsets_64.c | 60 OFFSET(FIXED_stack_canary, fixed_percpu_data, stack_canary); in main()
|
A D | asm-offsets.c | 39 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common()
|
/linux-6.3-rc2/arch/sh/kernel/ |
A D | process_32.c | 150 __stack_chk_guard = next->stack_canary; in __switch_to()
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | asm-offsets.c | 81 DEFINE(TASK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | asm-offsets.c | 41 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | asm-offsets.c | 45 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | asm-offsets.c | 72 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary); in output_task_defines()
|
/linux-6.3-rc2/arch/mips/kernel/ |
A D | asm-offsets.c | 86 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary); in output_task_defines()
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | asm-offsets.c | 75 OFFSET(TSK_STACK_CANARY, task_struct, stack_canary); in asm_offsets()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | asm-offsets.c | 82 OFFSET(TASK_CANARY, task_struct, stack_canary); in main()
|
/linux-6.3-rc2/include/linux/ |
A D | sched.h | 966 unsigned long stack_canary; member
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 1014 tsk->stack_canary = get_random_canary(); in dup_task_struct()
|