Searched refs:canary (Results 1 - 22 of 22) sorted by relevance

/linux-master/arch/powerpc/include/asm/
H A Dstackprotector.h15 * Initialize the stackprotector canary value.
22 unsigned long canary = get_random_canary(); local
24 current->stack_canary = canary;
26 get_paca()->canary = canary;
H A Dpaca.h272 unsigned long canary; member in struct:paca_struct
/linux-master/arch/loongarch/include/asm/
H A Dstackprotector.h7 * returning from the function. The pattern is called stack canary and
21 * Initialize the stackprotector canary value.
28 unsigned long canary; local
31 get_random_bytes(&canary, sizeof(canary));
32 canary ^= LINUX_VERSION_CODE;
34 current->stack_canary = canary;
/linux-master/arch/xtensa/include/asm/
H A Dstackprotector.h8 * returning from the function. The pattern is called stack canary
11 * we cannot have a different canary value per task.
20 * Initialize the stackprotector canary value.
27 unsigned long canary = get_random_canary(); local
29 current->stack_canary = canary;
/linux-master/arch/sh/include/asm/
H A Dstackprotector.h8 * Initialize the stackprotector canary value.
15 unsigned long canary = get_random_canary(); local
17 current->stack_canary = canary;
/linux-master/arch/csky/include/asm/
H A Dstackprotector.h8 * Initialize the stackprotector canary value.
15 unsigned long canary = get_random_canary(); local
17 current->stack_canary = canary;
/linux-master/arch/mips/include/asm/
H A Dstackprotector.h9 * returning from the function. The pattern is called stack canary
12 * we cannot have a different canary value per task.
21 * Initialize the stackprotector canary value.
28 unsigned long canary = get_random_canary(); local
30 current->stack_canary = canary;
/linux-master/arch/arm/include/asm/
H A Dstackprotector.h7 * returning from the function. The pattern is called stack canary
23 * Initialize the stackprotector canary value.
30 unsigned long canary = get_random_canary(); local
32 current->stack_canary = canary;
/linux-master/arch/riscv/include/asm/
H A Dstackprotector.h9 * Initialize the stackprotector canary value.
16 unsigned long canary = get_random_canary(); local
18 current->stack_canary = canary;
/linux-master/arch/x86/include/asm/
H A Dstackprotector.h7 * returning from the function. The pattern is called stack canary
11 * The same segment is shared by percpu area and stack canary. On
15 * offset. On x86_32, the stack canary is just a regular percpu
40 * Initialize the stackprotector canary value.
48 * lead to checking a modified canary value.
52 unsigned long canary = get_random_canary(); local
58 current->stack_canary = canary;
60 this_cpu_write(fixed_percpu_data.stack_canary, canary);
62 this_cpu_write(__stack_chk_guard, canary);
/linux-master/arch/arm64/include/asm/
H A Dstackprotector.h7 * returning from the function. The pattern is called stack canary
10 * we cannot have a different canary value per task.
21 * Initialize the stackprotector canary value.
29 unsigned long canary = get_random_canary(); local
31 current->stack_canary = canary;
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dtest_ownership.tc23 canary="events/timer events/timer/timer_cancel events/timer/timer_cancel/format"
57 for d in "." "events" "events/sched" "events/sched/sched_switch" "events/sched/sched_switch/enable" $canary; do
63 for d in "." "events/sched" "events/sched/sched_switch" "events/sched/sched_switch/enable" $canary; do
69 for d in "." "events/sched/sched_switch" "events/sched/sched_switch/enable" $canary; do
75 for d in "." "events/sched/sched_switch/enable" $canary; do
81 for d in "." $canary; do
92 for d in "." "events" "events/sched" "events/sched/sched_switch" "events/sched/sched_switch/enable" $canary; do
/linux-master/drivers/misc/lkdtm/
H A Dbugs.c144 /* This should trip the stack canary, not corrupt the return address. */
154 /* Same as above but will only get a canary with -fstack-protector-strong */
191 unsigned long *canary = (unsigned long *)stack; local
194 /* Do our best to find the canary in a 16 word window ... */
196 canary = (unsigned long *)stack + i;
198 if (*canary == current->stack_canary)
200 if (*canary == init_task.stack_canary)
207 * If the canary doesn't match what's in the task_struct,
208 * we're either using a global canary or the stack frame
212 pr_err("FAIL: global stack canary foun
[all...]
/linux-master/arch/x86/platform/pvh/
H A Dhead.S98 /* Set base address in stack canary descriptor. */
100 mov $_pa(canary), %eax
160 SYM_DATA_LOCAL(canary, .fill 48, 1, 0)
/linux-master/drivers/net/ipa/
H A Dipa_mem.c276 /* Defined regions have non-zero size and/or canary count */
362 /* For each defined region, write "canary" values in the
367 __le32 *canary; local
372 /* Write canary values in the space before the region */
373 canary = ipa->mem_virt + ipa->mem_offset + ipa->mem[i].offset;
375 *--canary = IPA_MEM_CANARY_VAL;
/linux-master/include/linux/
H A Dserial_8250.h138 unsigned char canary; /* non-zero during system sleep member in struct:uart_8250_port
/linux-master/drivers/soc/qcom/
H A Dsmem.c217 * @canary: magic number, must be SMEM_PRIVATE_CANARY
225 u16 canary; /* bytes are the same so no swapping needed */ member in struct:smem_private_entry
395 if (hdr->canary != SMEM_PRIVATE_CANARY)
413 hdr->canary = SMEM_PRIVATE_CANARY;
429 dev_err(smem->dev, "Found invalid canary in hosts %hu:%hu partition\n",
574 if (e->canary != SMEM_PRIVATE_CANARY)
610 if (e->canary != SMEM_PRIVATE_CANARY)
640 dev_err(smem->dev, "Found invalid canary in hosts %hu:%hu partition\n",
/linux-master/drivers/tty/serial/8250/
H A D8250_core.c791 unsigned char canary = 0xa5; local
793 serial_out(up, UART_SCR, canary);
794 if (serial_in(up, UART_SCR) == canary)
795 up->canary = canary;
813 up->canary = 0;
H A D8250_port.c3364 if (up->canary && (up->canary != serial_port_in(port, UART_SCR))) {
3366 up->canary = 0;
/linux-master/arch/arm/mach-at91/
H A Dpm.c38 * @canary: canary data for memory checking after exit from backup mode
46 phys_addr_t canary; member in struct:at91_pm_bu
185 static int canary = 0xA5A5A5A5; variable
1079 soc_pm.bu->canary = __pa_symbol(&canary);
/linux-master/arch/powerpc/kernel/
H A Dasm-offsets.c84 OFFSET(PACA_CANARY, paca_struct, canary);
/linux-master/arch/powerpc/xmon/
H A Dxmon.c2699 DUMP(p, canary, "%#-*lx");

Completed in 398 milliseconds