Searched refs:AT_EXECPATH (Results 1 - 14 of 14) sorted by relevance

/freebsd-12-stable/sys/sparc64/include/
H A Delf.h88 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd-12-stable/sys/x86/include/
H A Delf.h96 #define AT_EXECPATH 15 /* Path to the executable. */ macro
184 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd-12-stable/sys/powerpc/include/
H A Delf.h107 #define AT_EXECPATH 13 /* Path to the executable. */ macro
/freebsd-12-stable/sys/riscv/include/
H A Delf.h84 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd-12-stable/lib/libc/gen/
H A Dauxv.c91 case AT_EXECPATH:
154 case AT_EXECPATH:
H A Ddlfcn.c183 case AT_EXECPATH:
/freebsd-12-stable/sys/mips/include/
H A Delf.h142 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd-12-stable/sys/arm/include/
H A Delf.h80 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd-12-stable/sys/arm64/include/
H A Delf.h87 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd-12-stable/usr.sbin/crunch/crunchgen/
H A Dcrunched_main.c132 * invoking the shell. In that case we look at AT_EXECPATH as a
142 * try AT_EXECPATH to get the actual binary that was executed.
145 int error = elf_aux_info(AT_EXECPATH, &buf, sizeof(buf));
150 * Keep using argv[0] if AT_EXECPATH is the crunched
160 warnc(error, "elf_aux_info(AT_EXECPATH) failed");
/freebsd-12-stable/usr.bin/procstat/
H A Dprocstat_auxv.c138 case AT_EXECPATH:
139 xo_emit("{dw:/%s}{Lw:/%-16s/%s}{:AT_EXECPATH/%p}\n",
140 prefix, "AT_EXECPATH", auxv[i].a_un.a_ptr);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc201 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0)
204 // elf_aux_info(AT_EXECPATH, ... is not available in all supported versions,
210 // Iterate through auxiliary vectors for AT_EXECPATH.
212 if (*(uintptr_t *)p++ == AT_EXECPATH)
/freebsd-12-stable/libexec/rtld-elf/
H A Drtld.c517 /* XXXKIB insert place for AT_EXECPATH if not present */
524 /* Point AT_EXECPATH auxv and aux_info to the binary path. */
526 aux_info[AT_EXECPATH] = NULL;
528 if (aux_info[AT_EXECPATH] == NULL) {
529 aux_info[AT_EXECPATH] = xmalloc(sizeof(Elf_Auxinfo));
530 aux_info[AT_EXECPATH]->a_type = AT_EXECPATH;
532 aux_info[AT_EXECPATH]->a_un.a_ptr = __DECONST(void *,
623 if (aux_info[AT_EXECPATH] != NULL && fd == -1) {
624 kexecpath = aux_info[AT_EXECPATH]
[all...]
/freebsd-12-stable/sys/kern/
H A Dimgact_elf.c1358 AUXARGS_ENTRY(pos, AT_EXECPATH, imgp->execpathp);

Completed in 204 milliseconds