Searched refs:AT_EXECPATH (Results 1 - 14 of 14) sorted by relevance
/freebsd-12-stable/sys/sparc64/include/ |
H A D | elf.h | 88 #define AT_EXECPATH 15 /* Path to the executable. */ macro
|
/freebsd-12-stable/sys/x86/include/ |
H A D | elf.h | 96 #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 D | elf.h | 107 #define AT_EXECPATH 13 /* Path to the executable. */ macro
|
/freebsd-12-stable/sys/riscv/include/ |
H A D | elf.h | 84 #define AT_EXECPATH 15 /* Path to the executable. */ macro
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | auxv.c | 91 case AT_EXECPATH: 154 case AT_EXECPATH:
|
H A D | dlfcn.c | 183 case AT_EXECPATH:
|
/freebsd-12-stable/sys/mips/include/ |
H A D | elf.h | 142 #define AT_EXECPATH 15 /* Path to the executable. */ macro
|
/freebsd-12-stable/sys/arm/include/ |
H A D | elf.h | 80 #define AT_EXECPATH 15 /* Path to the executable. */ macro
|
/freebsd-12-stable/sys/arm64/include/ |
H A D | elf.h | 87 #define AT_EXECPATH 15 /* Path to the executable. */ macro
|
/freebsd-12-stable/usr.sbin/crunch/crunchgen/ |
H A D | crunched_main.c | 132 * 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 D | procstat_auxv.c | 138 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 D | Path.inc | 201 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 D | rtld.c | 517 /* 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 D | imgact_elf.c | 1358 AUXARGS_ENTRY(pos, AT_EXECPATH, imgp->execpathp);
|
Completed in 204 milliseconds