Home
last modified time | relevance | path

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

/freebsd/lib/libsys/
H A Dauxv.c112 case AT_EXECPATH: in init_aux()
247 aux = AT_EXECPATH; in _powerpc_elf_aux_info()
304 case AT_EXECPATH: in _elf_aux_info()
/freebsd/usr.sbin/crunch/crunchgen/
H A Dcrunched_main.c130 * invoking the shell. In that case we look at AT_EXECPATH as a in main()
140 * try AT_EXECPATH to get the actual binary that was executed. in main()
143 int error = elf_aux_info(AT_EXECPATH, &buf, sizeof(buf)); in main()
148 * Keep using argv[0] if AT_EXECPATH is the crunched in main()
158 warnc(error, "elf_aux_info(AT_EXECPATH) failed"); in main()
/freebsd/tools/test/stress2/misc/
H A Dexecpath.sh101 elf_aux_info(AT_EXECPATH, pathname, PATH_MAX);
/freebsd/usr.bin/procstat/
H A Dprocstat_auxv.c135 case AT_EXECPATH: in procstat_auxv()
/freebsd/lib/libc/gen/
H A Ddlfcn.c185 case AT_EXECPATH: in dl_init_phdr_info()
/freebsd/libexec/rtld-elf/
H A Drtld.c712 aux_info[AT_EXECPATH] = NULL; in _rtld()
714 if (aux_info[AT_EXECPATH] == NULL) { in _rtld()
715 aux_info[AT_EXECPATH] = xmalloc( in _rtld()
717 aux_info[AT_EXECPATH]->a_type = in _rtld()
718 AT_EXECPATH; in _rtld()
720 aux_info[AT_EXECPATH]->a_un.a_ptr = in _rtld()
817 if (aux_info[AT_EXECPATH] != NULL && fd == -1) { in _rtld()
818 kexecpath = aux_info[AT_EXECPATH]->a_un.a_ptr; in _rtld()
6564 AUXFMT(AT_EXECPATH, "%s"),
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc212 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) {
218 // elf_aux_info(AT_EXECPATH, ... is not available in all supported versions,
224 // Iterate through auxiliary vectors for AT_EXECPATH.
226 if (aux->a_type == AT_EXECPATH) {
/freebsd/sys/sys/
H A Delf_common.h995 #define AT_EXECPATH 15 /* Path to the executable. */ macro
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp964 if (aux->a_type == AT_EXECPATH) { in ReExec()
/freebsd/sys/kern/
H A Dimgact_elf.c1472 AUXARGS_ENTRY_PTR(pos, AT_EXECPATH, imgp->execpathp); in __elfN()