Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/include/asm/
Dstackprotector.h57 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()
Dprocessor.h439 unsigned long stack_canary; member
/Linux-v5.15/arch/arm/include/asm/
Dstackprotector.h39 current->stack_canary = canary; in boot_init_stack_canary()
41 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
43 current_thread_info()->stack_canary = current->stack_canary; in boot_init_stack_canary()
Dthread_info.h59 unsigned long stack_canary; member
/Linux-v5.15/arch/xtensa/include/asm/
Dstackprotector.h36 current->stack_canary = canary; in boot_init_stack_canary()
37 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/Linux-v5.15/arch/mips/include/asm/
Dstackprotector.h37 current->stack_canary = canary; in boot_init_stack_canary()
38 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/Linux-v5.15/arch/sh/include/asm/
Dstackprotector.h25 current->stack_canary = canary; in boot_init_stack_canary()
26 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/Linux-v5.15/arch/csky/include/asm/
Dstackprotector.h25 current->stack_canary = canary; in boot_init_stack_canary()
26 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/Linux-v5.15/arch/riscv/include/asm/
Dstackprotector.h26 current->stack_canary = canary; in boot_init_stack_canary()
28 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/Linux-v5.15/arch/arm64/include/asm/
Dstackprotector.h38 current->stack_canary = canary; in boot_init_stack_canary()
40 __stack_chk_guard = current->stack_canary; in boot_init_stack_canary()
/Linux-v5.15/arch/powerpc/include/asm/
Dstackprotector.h32 current->stack_canary = canary; in boot_init_stack_canary()
/Linux-v5.15/arch/x86/kernel/
Dasm-offsets_64.c60 DEFINE(stack_canary_offset, offsetof(struct fixed_percpu_data, stack_canary)); in main()
Dasm-offsets.c37 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common()
/Linux-v5.15/arch/arm/kernel/
Dasm-offsets.c41 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
67 DEFINE(TI_STACK_CANARY, offsetof(struct thread_info, stack_canary)); in main()
Dprocess.c273 thread->stack_canary = p->stack_canary; in copy_thread()
/Linux-v5.15/arch/sh/kernel/
Dprocess_32.c155 __stack_chk_guard = next->stack_canary; in __switch_to()
/Linux-v5.15/arch/xtensa/kernel/
Dasm-offsets.c80 DEFINE(TASK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
/Linux-v5.15/arch/arm64/kernel/
Dasm-offsets.c43 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main()
/Linux-v5.15/arch/riscv/kernel/
Dasm-offsets.c72 OFFSET(TSK_STACK_CANARY, task_struct, stack_canary); in asm_offsets()
/Linux-v5.15/arch/mips/kernel/
Dasm-offsets.c86 OFFSET(TASK_STACK_CANARY, task_struct, stack_canary); in output_task_defines()
/Linux-v5.15/include/linux/
Dsched.h948 unsigned long stack_canary; member
/Linux-v5.15/arch/powerpc/kernel/
Dasm-offsets.c84 OFFSET(TASK_CANARY, task_struct, stack_canary); in main()
/Linux-v5.15/kernel/
Dfork.c935 tsk->stack_canary = get_random_canary(); in dup_task_struct()