/arch/x86/include/asm/ |
D | stackprotector.h | 68 u64 canary; in boot_init_stack_canary() local 80 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 82 canary += tsc + (tsc << 32UL); in boot_init_stack_canary() 83 canary &= CANARY_MASK; in boot_init_stack_canary() 85 current->stack_canary = canary; in boot_init_stack_canary() 87 this_cpu_write(fixed_percpu_data.stack_canary, canary); in boot_init_stack_canary() 89 this_cpu_write(stack_canary.canary, canary); in boot_init_stack_canary() 96 unsigned long canary = (unsigned long)&per_cpu(stack_canary, cpu); in setup_stack_canary_segment() local 101 set_desc_base(&desc, canary); in setup_stack_canary_segment()
|
D | processor.h | 424 unsigned long canary; member
|
/arch/powerpc/include/asm/ |
D | stackprotector.h | 24 unsigned long canary; in boot_init_stack_canary() local 27 canary = get_random_canary(); in boot_init_stack_canary() 28 canary ^= mftb(); in boot_init_stack_canary() 29 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 30 canary &= CANARY_MASK; in boot_init_stack_canary() 32 current->stack_canary = canary; in boot_init_stack_canary() 34 get_paca()->canary = canary; in boot_init_stack_canary()
|
D | paca.h | 268 unsigned long canary; member
|
/arch/sh/include/asm/ |
D | stackprotector.h | 18 unsigned long canary; in boot_init_stack_canary() local 21 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 22 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 23 canary &= CANARY_MASK; in boot_init_stack_canary() 25 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/arm64/include/asm/ |
D | stackprotector.h | 29 unsigned long canary; in boot_init_stack_canary() local 32 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 33 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 34 canary &= CANARY_MASK; in boot_init_stack_canary() 36 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/mips/include/asm/ |
D | stackprotector.h | 31 unsigned long canary; in boot_init_stack_canary() local 34 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 35 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 37 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/xtensa/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/arm/include/asm/ |
D | stackprotector.h | 33 unsigned long canary; in boot_init_stack_canary() local 36 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 37 canary ^= LINUX_VERSION_CODE; in boot_init_stack_canary() 39 current->stack_canary = canary; in boot_init_stack_canary()
|
/arch/x86/platform/pvh/ |
D | head.S | 99 mov $_pa(canary), %eax 114 movl $_pa(canary),%ecx 169 canary: label
|
/arch/x86/kernel/ |
D | asm-offsets_32.c | 61 OFFSET(stack_canary_offset, stack_canary, canary); in foo()
|
D | head_32.S | 382 * relocation. Manually set base address in stack canary
|
/arch/arm/mach-at91/ |
D | pm.c | 80 static int canary = 0xA5A5A5A5; variable 85 phys_addr_t canary; member 675 pm_bu->canary = __pa_symbol(&canary); in at91_pm_backup_init()
|
/arch/ |
D | Kconfig | 499 - it has implemented a stack canary (e.g. __stack_chk_guard) 511 feature puts, at the beginning of functions, a canary value on 515 overwrite the canary, which gets detected and the attack is then 518 Functions will have the stack-protector canary logic added if they 524 On an x86 "defconfig" build, this feature adds canary checks to 534 Functions will have the stack-protector canary logic added in any 546 On an x86 "defconfig" build, this feature adds canary checks to
|
/arch/powerpc/kernel/ |
D | asm-offsets.c | 83 OFFSET(PACA_CANARY, paca_struct, canary); in main()
|
/arch/arm/ |
D | Kconfig | 1702 bool "Use a unique stack canary value for each task" 1708 which to load the value of the stack canary, this value can only 1710 kernel's address space are forced to use the same canary value for 1714 different canary value for each task.
|
/arch/powerpc/xmon/ |
D | xmon.c | 2498 DUMP(p, canary, "%#-*lx"); in dump_one_paca()
|