Searched refs:canary (Results 1 – 8 of 8) sorted by relevance
/arch/x86/include/asm/ |
D | stackprotector.h | 60 u64 canary; in boot_init_stack_canary() local 72 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 74 canary += tsc + (tsc << 32UL); in boot_init_stack_canary() 76 current->stack_canary = canary; in boot_init_stack_canary() 78 this_cpu_write(irq_stack_union.stack_canary, canary); in boot_init_stack_canary() 80 this_cpu_write(stack_canary.canary, canary); in boot_init_stack_canary() 87 unsigned long canary = (unsigned long)&per_cpu(stack_canary, cpu); in setup_stack_canary_segment() local 92 set_desc_base(&desc, canary); in setup_stack_canary_segment()
|
D | switch_to.h | 18 , [stack_canary] "=m" (stack_canary.canary)
|
D | processor.h | 447 unsigned long canary; member
|
/arch/arm/include/asm/ |
D | stackprotector.h | 28 unsigned long canary; in boot_init_stack_canary() local 31 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 32 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 34 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/sh/include/asm/ |
D | stackprotector.h | 17 unsigned long canary; in boot_init_stack_canary() local 20 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 21 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 23 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/arm64/include/asm/ |
D | stackprotector.h | 28 unsigned long canary; in boot_init_stack_canary() local 31 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 32 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 34 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/mips/include/asm/ |
D | stackprotector.h | 30 unsigned long canary; in boot_init_stack_canary() local 33 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 34 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 36 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/ |
D | Kconfig | 352 - it has implemented a stack canary (e.g. __stack_chk_guard) 366 feature puts, at the beginning of functions, a canary value on 370 overwrite the canary, which gets detected and the attack is then 382 Functions will have the stack-protector canary logic added if they 388 On an x86 "defconfig" build, this feature adds canary checks to 396 Functions will have the stack-protector canary logic added in any 408 On an x86 "defconfig" build, this feature adds canary checks to
|