Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Delf_aux.c29 elf_auxv_t * auxv; in scan_elf_aux() local
33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux()
34 switch ( auxv->a_type ) { in scan_elf_aux()
36 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux()
42 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux()
48 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux()
56 (char *) (long) auxv->a_un.a_val; in scan_elf_aux()
59 page_size = auxv->a_un.a_val; in scan_elf_aux()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A DCVE-2022-4415-2.patch14 This reads the /proc/<pid>/auxv file and attaches it to the process metadata as
20 the auxv data from a note in the core file, but that is much more complex and
23 Attaching auxv is both convient for this patch (because this way it's passed
29 whether the format of the auxv structure. This test might reject some cases on
34 I tested auxv parsing on amd64, 32-bit program on amd64, arm64, arm32, and
79 +#include <sys/auxv.h>
148 + const uint64_t *auxv,
156 + assert(auxv || size_bytes == 0);
159 + return log_warning_errno(SYNTHETIC_ERRNO(EIO), "Incomplete auxv structure (%zu byt…
166 + switch (auxv[i]) {
[all …]
/OK3568_Linux_fs/buildroot/package/haveged/
H A D0001-Check-for-sys-auxv.h-before-using-it.patch4 Subject: [PATCH] Check for sys/auxv.h before using it.
6 - fixes uclibc-ng compile (does not provide sys/auxv.h header file)
10 haveged.c:22:10: fatal error: sys/auxv.h: No such file or directory
11 22 | #include <sys/auxv.h>
29 +AC_CHECK_HEADERS(sys/auxv.h)
42 #include <sys/auxv.h>
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c38 Elf32_auxv_t *auxv; in get_syscall() local
41 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall()
42 if (auxv->a_type == AT_SYSINFO) in get_syscall()
43 return auxv->a_un.a_val; in get_syscall()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/
H A Dutils.c27 static char auxv[4096]; variable
59 void *find_auxv_entry(int type, char *auxv) in find_auxv_entry() argument
63 p = (ElfW(auxv_t) *)auxv; in find_auxv_entry()
79 if (read_auxv(auxv, sizeof(auxv))) in get_auxv_entry()
82 p = find_auxv_entry(type, auxv); in get_auxv_entry()
/OK3568_Linux_fs/buildroot/package/flac/
H A D0001-configure.ac-check-for-sys-auxv.h-before-defining-FL.patch4 Subject: [PATCH] configure.ac: check for sys/auxv.h before defining FLAC__CPU_PPC
21 + AC_CHECK_HEADER(sys/auxv.h, AC_DEFINE(FLAC__CPU_PPC))
30 + AC_CHECK_HEADER(sys/auxv.h, AC_DEFINE(FLAC__CPU_PPC))
/OK3568_Linux_fs/kernel/Documentation/sparc/
H A Dadi.rst189 Elf64_auxv_t *auxv;
194 for (auxv = (Elf64_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) {
195 switch (auxv->a_type) {
197 adi_blksz = auxv->a_un.a_val;
200 adi_nbits = auxv->a_un.a_val;
/OK3568_Linux_fs/buildroot/package/ffmpeg/
H A D0003-libavutil-Fix-mips-build.patch6 Check for sys/auxv.h because not all toolchains contain this header.
35 +check_headers sys/auxv.h
/OK3568_Linux_fs/kernel/tools/testing/selftests/vDSO/
H A Dparse_vdso.h29 void vdso_init_from_auxv(void *auxv);
H A Dparse_vdso.c235 void vdso_init_from_auxv(void *auxv) in vdso_init_from_auxv() argument
237 ELF(auxv_t) *elf_auxv = auxv; in vdso_init_from_auxv()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0005-Use-configure-to-test-for-feature-instead-of-platfor.patch53 +AC_CHECK_HEADERS([sys/auxv.h])
69 #include <sys/auxv.h>
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/xorg-lib/pixman/
H A D0001-ARM-qemu-related-workarounds-in-cpu-features-detecti.patch38 + * userspace qemu, we see /proc/self/auxv from the host system. To make
61 fd = open ("/proc/self/auxv", O_RDONLY);
/OK3568_Linux_fs/buildroot/package/openvmtools/
H A D0007-Use-configure-to-test-for-feature-instead-of-platfor.patch53 +AC_CHECK_HEADERS([sys/auxv.h])
69 #include <sys/auxv.h>
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/OK3568_Linux_fs/buildroot/package/putty/
H A D0001-unix-uxutils.h-fix-build-on-uclibc.patch8 even if <sys/auxv.h> is not available:
/OK3568_Linux_fs/buildroot/package/bitcoin/
H A D0001-src-randomenv.cpp-fix-build-on-uclibc.patch25 #include <sys/auxv.h>
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/include/
H A Dutils.h31 void *find_auxv_entry(int type, char *auxv);
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dprctl.h146 __u64 *auxv; /* auxiliary vector */ member
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A D0001-Don-t-check-xsltproc-manpages.patch42 conf.CHECK_HEADERS('sys/auxv.h')
/OK3568_Linux_fs/kernel/fs/
H A Dbinfmt_elf.c1590 elf_addr_t *auxv = (elf_addr_t *) mm->saved_auxv; in fill_auxv_note() local
1594 while (auxv[i - 2] != AT_NULL); in fill_auxv_note()
1595 fill_note(note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in fill_auxv_note()
1713 struct memelfnote auxv; member
1885 fill_auxv_note(&info->auxv, current->mm); in fill_note_info()
1886 info->size += notesize(&info->auxv); in fill_note_info()
1919 if (first && !writenote(&info->auxv, cprm)) in write_note_info()
H A Dbinfmt_elf_fdpic.c1490 elf_addr_t *auxv; in elf_fdpic_core_dump() local
1553 auxv = (elf_addr_t *) current->mm->saved_auxv; in elf_fdpic_core_dump()
1557 while (auxv[i - 2] != AT_NULL); in elf_fdpic_core_dump()
1558 fill_note(&auxv_note, "CORE", NT_AUXV, i * sizeof(elf_addr_t), auxv); in elf_fdpic_core_dump()
/OK3568_Linux_fs/buildroot/package/rocksdb/
H A D0001-build_tools-build_detect_platform-fix-C-tests.patch230 #include <sys/auxv.h>
232 uint64_t auxv = getauxval(AT_HWCAP);
/OK3568_Linux_fs/u-boot/tools/
H A D.relocate-rela.cmd

12