Searched refs:canary (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/arch/x86/include/asm/ |
D | stackprotector.h | 62 u64 canary; in boot_init_stack_canary() local 74 get_random_bytes(&canary, sizeof(canary)); in boot_init_stack_canary() 76 canary += tsc + (tsc << 32UL); in boot_init_stack_canary() 78 current->stack_canary = canary; in boot_init_stack_canary() 80 this_cpu_write(irq_stack_union.stack_canary, canary); in boot_init_stack_canary() 82 this_cpu_write(stack_canary.canary, canary); in boot_init_stack_canary() 89 unsigned long canary = (unsigned long)&per_cpu(stack_canary, cpu); in setup_stack_canary_segment() local 94 set_desc_base(&desc, canary); in setup_stack_canary_segment()
|
D | switch_to.h | 18 , [stack_canary] "=m" (stack_canary.canary)
|
D | processor.h | 353 unsigned long canary; member
|
/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smem.c | 206 u16 canary; /* bytes are the same so no swapping needed */ member 308 if (hdr->canary != SMEM_PRIVATE_CANARY) { in qcom_smem_alloc_private() 328 hdr->canary = SMEM_PRIVATE_CANARY; in qcom_smem_alloc_private() 467 if (e->canary != SMEM_PRIVATE_CANARY) { in qcom_smem_get_private()
|
/linux-4.4.14/arch/ |
D | Kconfig | 364 - it has implemented a stack canary (e.g. __stack_chk_guard) 378 feature puts, at the beginning of functions, a canary value on 382 overwrite the canary, which gets detected and the attack is then 394 Functions will have the stack-protector canary logic added if they 400 On an x86 "defconfig" build, this feature adds canary checks to 408 Functions will have the stack-protector canary logic added in any 420 On an x86 "defconfig" build, this feature adds canary checks to
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_core.c | 758 unsigned char canary = 0xa5; in serial8250_suspend_port() local 759 serial_out(up, UART_SCR, canary); in serial8250_suspend_port() 760 if (serial_in(up, UART_SCR) == canary) in serial8250_suspend_port() 761 up->canary = canary; in serial8250_suspend_port() 778 up->canary = 0; in serial8250_resume_port()
|
D | 8250_port.c | 2864 if (up->canary && (up->canary != serial_port_in(port, UART_SCR))) { in serial8250_console_write() 2866 up->canary = 0; in serial8250_console_write()
|
/linux-4.4.14/include/linux/ |
D | serial_8250.h | 103 unsigned char canary; /* non-zero during system sleep member
|