Home
last modified time | relevance | path

Searched refs:auxv (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/arch/um/os-Linux/
Delf_aux.c28 elf_auxv_t * auxv; in scan_elf_aux() local
32 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux()
33 switch ( auxv->a_type ) { in scan_elf_aux()
35 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux()
41 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux()
47 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux()
55 (char *) (long) auxv->a_un.a_val; in scan_elf_aux()
58 page_size = auxv->a_un.a_val; in scan_elf_aux()
/linux-4.4.14/tools/testing/selftests/powerpc/
Dharness.c120 static char auxv[4096]; variable
137 num = read(fd, auxv, sizeof(auxv)); in get_auxv_entry()
143 if (num > sizeof(auxv)) { in get_auxv_entry()
148 p = (ElfW(auxv_t) *)auxv; in get_auxv_entry()
/linux-4.4.14/tools/testing/selftests/x86/
Dtest_syscall_vdso.c46 Elf32_auxv_t *auxv; in get_syscall() local
49 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall()
50 if (auxv->a_type == AT_SYSINFO) in get_syscall()
51 return auxv->a_un.a_val; in get_syscall()
/linux-4.4.14/Documentation/vDSO/
Dparse_vdso.c43 extern void vdso_init_from_auxv(void *auxv);
257 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument
259 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
Dvdso_test.c20 extern void vdso_init_from_auxv(void *auxv);
Dvdso_standalone_test_x86.c21 extern void vdso_init_from_auxv(void *auxv);
/linux-4.4.14/include/uapi/linux/
Dprctl.h145 __u64 *auxv; /* auxiliary vector */ member
/linux-4.4.14/fs/
Dbinfmt_elf.c1481 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note() local
1485 while (auxv[i - 2] != AT_NULL); in fill_auxv_note()
1486 fill_note(note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in fill_auxv_note()
1600 struct memelfnote auxv; member
1781 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1782 info->size += notesize(&info->auxv); in fill_note_info()
1815 if (first && !writenote(&info->auxv, cprm)) in write_note_info()
Dbinfmt_elf_fdpic.c1591 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1682 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1687 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1689 i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/linux-4.4.14/kernel/
Dsys.c1796 if (!prctl_map->auxv || prctl_map->auxv_size > sizeof(mm->saved_auxv)) in validate_prctl_map()
1847 (const void __user *)prctl_map.auxv, in prctl_set_mm_map()
1980 prctl_map.auxv = NULL; in prctl_set_mm()