/linux-master/arch/xtensa/include/asm/ |
H A D | stackprotector.h | 29 current->stack_canary = canary; 30 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/sh/include/asm/ |
H A D | stackprotector.h | 17 current->stack_canary = canary; 18 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/csky/include/asm/ |
H A D | stackprotector.h | 17 current->stack_canary = canary; 18 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/mips/include/asm/ |
H A D | stackprotector.h | 30 current->stack_canary = canary; 31 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/x86/include/asm/ |
H A D | stackprotector.h | 14 * fixed_percpu_data which contains stack_canary at the appropriate 55 BUILD_BUG_ON(offsetof(struct fixed_percpu_data, stack_canary) != 40); 58 current->stack_canary = canary; 60 this_cpu_write(fixed_percpu_data.stack_canary, canary); 69 per_cpu(fixed_percpu_data.stack_canary, cpu) = idle->stack_canary; 71 per_cpu(__stack_chk_guard, cpu) = idle->stack_canary;
|
H A D | processor.h | 399 unsigned long stack_canary; member in struct:fixed_percpu_data
|
/linux-master/arch/arm/include/asm/ |
H A D | stackprotector.h | 32 current->stack_canary = canary; 34 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/riscv/include/asm/ |
H A D | stackprotector.h | 18 current->stack_canary = canary; 20 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/arm64/include/asm/ |
H A D | stackprotector.h | 31 current->stack_canary = canary; 33 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/loongarch/include/asm/ |
H A D | stackprotector.h | 34 current->stack_canary = canary; 35 __stack_chk_guard = current->stack_canary;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | stackprotector.h | 24 current->stack_canary = canary;
|
/linux-master/arch/x86/kernel/ |
H A D | asm-offsets_64.c | 60 OFFSET(FIXED_stack_canary, fixed_percpu_data, stack_canary);
|
H A D | asm-offsets.c | 39 OFFSET(TASK_stack_canary, task_struct, stack_canary);
|
/linux-master/drivers/misc/lkdtm/ |
H A D | bugs.c | 184 static unsigned long stack_canary; variable 198 if (*canary == current->stack_canary) 200 if (*canary == init_task.stack_canary) 226 stack_canary = *canary; 240 if (*canary == stack_canary) {
|
/linux-master/arch/sh/kernel/ |
H A D | process_32.c | 150 __stack_chk_guard = next->stack_canary;
|
/linux-master/arch/xtensa/kernel/ |
H A D | asm-offsets.c | 81 DEFINE(TASK_STACK_CANARY, offsetof(struct task_struct, stack_canary));
|
/linux-master/arch/arm/kernel/ |
H A D | asm-offsets.c | 43 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary));
|
/linux-master/arch/loongarch/kernel/ |
H A D | asm-offsets.c | 74 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary);
|
/linux-master/arch/arm64/kernel/ |
H A D | asm-offsets.c | 45 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary));
|
/linux-master/arch/mips/kernel/ |
H A D | asm-offsets.c | 88 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary);
|
/linux-master/arch/riscv/kernel/ |
H A D | asm-offsets.c | 81 OFFSET(TSK_STACK_CANARY, task_struct, stack_canary);
|
/linux-master/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 82 OFFSET(TASK_CANARY, task_struct, stack_canary);
|
/linux-master/include/linux/ |
H A D | sched.h | 982 unsigned long stack_canary; member in struct:task_struct
|
/linux-master/kernel/ |
H A D | fork.c | 1145 tsk->stack_canary = get_random_canary();
|