Home
last modified time | relevance | path

Searched refs:stack_canary (Results 1 – 20 of 20) sorted by relevance

/linux/arch/xtensa/include/asm/
H A Dstackprotector.h29 current->stack_canary = canary; in boot_init_stack_canary()
30 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/sh/include/asm/
H A Dstackprotector.h17 current->stack_canary = canary; in boot_init_stack_canary()
18 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/csky/include/asm/
H A Dstackprotector.h17 current->stack_canary = canary; in boot_init_stack_canary()
18 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/mips/include/asm/
H A Dstackprotector.h30 current->stack_canary = canary; in boot_init_stack_canary()
31 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/arm/include/asm/
H A Dstackprotector.h32 current->stack_canary = canary; in boot_init_stack_canary()
34 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/riscv/include/asm/
H A Dstackprotector.h18 current->stack_canary = canary; in boot_init_stack_canary()
20 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/loongarch/include/asm/
H A Dstackprotector.h34 current->stack_canary = canary; in boot_init_stack_canary()
35 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/arm64/include/asm/
H A Dstackprotector.h31 current->stack_canary = canary; in boot_init_stack_canary()
33 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/linux/arch/x86/include/asm/
H A Dstackprotector.h40 current->stack_canary = canary; in boot_init_stack_canary()
46 per_cpu(__stack_chk_guard, cpu) = idle->stack_canary; in cpu_init_stack_canary()
/linux/drivers/misc/lkdtm/
H A Dbugs.c184 static unsigned long stack_canary; variable
198 if (*canary == current->stack_canary) in __lkdtm_REPORT_STACK_CANARY()
200 if (*canary == init_task.stack_canary) in __lkdtm_REPORT_STACK_CANARY()
226 stack_canary = *canary; in __lkdtm_REPORT_STACK_CANARY()
240 if (*canary == stack_canary) { in __lkdtm_REPORT_STACK_CANARY()
/linux/arch/powerpc/include/asm/
H A Dstackprotector.h24 current->stack_canary = canary; in boot_init_stack_canary()
/linux/arch/x86/kernel/
H A Dasm-offsets.c47 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common()
/linux/arch/sh/kernel/
H A Dprocess_32.c150 __stack_chk_guard = next->stack_canary; in __switch_to()
/linux/arch/xtensa/kernel/
H A Dasm-offsets.c81 DEFINE(TASK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
/linux/arch/arm/kernel/
H A Dasm-offsets.c43 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
/linux/arch/arm64/kernel/
H A Dasm-offsets.c40 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
/linux/arch/loongarch/kernel/
H A Dasm-offsets.c75 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary); in output_task_defines()
/linux/arch/mips/kernel/
H A Dasm-offsets.c94 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary); in output_task_defines()
/linux/arch/powerpc/kernel/
H A Dasm-offsets.c82 OFFSET(TASK_CANARY, task_struct, stack_canary); in main()
/linux/kernel/
H A Dfork.c912 tsk->stack_canary = get_random_canary(); in dup_task_struct()