/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | _setup.c | 72 auxv_t *auxv, *_auxv; in _setup() local 103 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) { in _setup() 104 switch (auxv->a_type) { in _setup() 107 fd = (int)auxv->a_un.a_val; in _setup() 111 _flags = auxv->a_un.a_val; in _setup() 115 _syspagsz = (int)auxv->a_un.a_val; in _setup() 119 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 124 ld_base = auxv->a_un.a_val; in _setup() 125 interp_base = auxv->a_un.a_val; in _setup() 129 euid = (uid_t)auxv->a_un.a_val; in _setup() [all …]
|
H A D | boot.S | 120 movl $EB_AUXV,16(%esi) / set up tag for auxv 121 movl %edi,20(%esi) / point to auxv
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | _setup.c | 71 auxv_t *auxv, *_auxv; in _setup() local 104 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) { in _setup() 105 switch (auxv->a_type) { in _setup() 108 fd = (int)auxv->a_un.a_val; in _setup() 112 _flags = auxv->a_un.a_val; in _setup() 116 _syspagsz = (int)auxv->a_un.a_val; in _setup() 120 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 125 ld_base = auxv->a_un.a_val; in _setup() 126 interp_base = auxv->a_un.a_val; in _setup() 130 euid = (uid_t)auxv->a_un.a_val; in _setup() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | _setup.c | 71 auxv_t *auxv, *_auxv; in _setup() local 102 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) { in _setup() 103 switch (auxv->a_type) { in _setup() 106 fd = (int)auxv->a_un.a_val; in _setup() 110 _flags = auxv->a_un.a_val; in _setup() 114 _syspagsz = (int)auxv->a_un.a_val; in _setup() 118 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 123 ld_base = auxv->a_un.a_val; in _setup() 124 interp_base = auxv->a_un.a_val; in _setup() 128 euid = (uid_t)auxv->a_un.a_val; in _setup() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | _setup.c | 129 auxv_t *auxv, *_auxv; in _setup() local 161 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) { in _setup() 162 switch (auxv->a_type) { in _setup() 165 fd = (int)auxv->a_un.a_val; in _setup() 169 _flags = auxv->a_un.a_val; in _setup() 173 _syspagsz = (int)auxv->a_un.a_val; in _setup() 177 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup() 182 ld_base = auxv->a_un.a_val; in _setup() 183 interp_base = auxv->a_un.a_val; in _setup() 187 euid = (uid_t)auxv->a_un.a_val; in _setup() [all …]
|
H A D | boot.S | 128 / set up tag for auxv 130 / point to auxv
|
/illumos-gate/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 153 const auxv_t *auxv; in show_map() local 161 if (ps_pauxv(Pr, &auxv) == PS_OK) { in show_map() 162 while (auxv->a_type != AT_NULL) { in show_map() 163 if (auxv->a_type == AT_BASE) { in show_map() 164 if (pmap->pr_vaddr == auxv->a_un.a_val) in show_map() 168 auxv++; in show_map()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_pservice.c | 245 const auxv_t *auxv; in ps_pbrandname() local 250 if (mdb_tgt_auxv(t, &auxv) != 0) in ps_pbrandname() 253 while (auxv->a_type != AT_NULL) { in ps_pbrandname() 254 if (auxv->a_type == AT_SUN_BRANDNAME) in ps_pbrandname() 256 auxv++; in ps_pbrandname() 258 if (auxv->a_type == AT_NULL) in ps_pbrandname() 262 buf, len, auxv->a_un.a_val) <= 0) in ps_pbrandname()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 93 aux_entry_t auxv[__KERN_NAUXV_IMPL]; in write_old_elfnotes() member 127 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_old_elfnotes() 128 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_old_elfnotes() 130 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_old_elfnotes() 131 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes()
|
H A D | elf_notes.c | 231 aux_entry_t auxv[__KERN_NAUXV_IMPL]; in write_elfnotes() member 326 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_elfnotes() 327 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_elfnotes() 329 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_elfnotes() 330 (caddr_t)bigwad->auxv, rlimit, credp); in write_elfnotes()
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 515 auxv32_t auxv[__BOOT_NAUXV_IMPL]; /* Aux vector */ in read_elf32() local 517 auxv32_t *av = auxv; in read_elf32() 556 size = (caddr_t)av - (caddr_t)auxv; in read_elf32() 557 if (size > sizeof (auxv)) { in read_elf32() 569 bcopy(auxv, in read_elf32() 582 size = (av - auxv) * sizeof (auxv64_t); in read_elf32() 592 auxv32_t *a = auxv; in read_elf32() 594 for (a = auxv; a < av; a++) { in read_elf32() 899 auxv64_t auxv[__BOOT_NAUXV_IMPL]; /* Aux vector */ in read_elf64() local 901 auxv64_t *av = auxv; in read_elf64() [all …]
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 327 if (P->auxv && (mptr == P->map_exec || mptr == P->map_ldso)) { in map_info_free() 328 free(P->auxv); in map_info_free() 329 P->auxv = NULL; in map_info_free() 878 if (P->auxv != NULL) { in Preadauxvec() 879 free(P->auxv); in Preadauxvec() 880 P->auxv = NULL; in Preadauxvec() 884 P->ops.pop_read_aux(P, &P->auxv, &P->nauxv, P->data); in Preadauxvec() 894 auxv_t *auxv; in Pgetauxval() local 896 if (P->auxv == NULL) in Pgetauxval() 899 if (P->auxv == NULL) in Pgetauxval() [all …]
|
H A D | Pservice.c | 365 if (P->auxv == NULL) in ps_pauxv() 368 if (P->auxv == NULL) in ps_pauxv() 371 *aux = (const auxv_t *)P->auxv; in ps_pauxv()
|
H A D | Pcore.c | 1058 if ((P->auxv = malloc(sizeof (auxv_t) * (n + 1))) == NULL) in note_auxv() 1062 auxv_32_to_n(&a32[i], &P->auxv[i]); in note_auxv() 1069 if ((P->auxv = malloc(nbytes + sizeof (auxv_t))) == NULL) in note_auxv() 1072 if (read(P->asfd, P->auxv, nbytes) != nbytes) { in note_auxv() 1073 free(P->auxv); in note_auxv() 1074 P->auxv = NULL; in note_auxv() 1084 P->auxv[i].a_type, P->auxv[i].a_un.a_val); in note_auxv() 1093 P->auxv[n].a_type = AT_NULL; in note_auxv() 1094 P->auxv[n].a_un.a_val = 0L; in note_auxv()
|
H A D | Pgcore.c | 1295 if (write_note(fd, NT_AUXV, P->auxv, in Pfgcore() 1296 P->nauxv * sizeof (P->auxv[0]), &doff) != 0) { in Pfgcore() 1316 auxv_n_to_32(&P->auxv[i], &av32[i]); in Pfgcore() 1377 if (write_note(fd, NT_AUXV, P->auxv, in Pfgcore() 1378 P->nauxv * sizeof (P->auxv[0]), &doff) != 0) { in Pfgcore() 1403 auxv_n_to_32(&P->auxv[i], &av32[i]); in Pfgcore()
|
H A D | Pcontrol.h | 232 auxv_t *auxv; /* the process's aux vector */ member
|
H A D | Pcontrol.c | 142 auxv_t *auxv; in Pread_aux_live() local 155 (auxv = malloc(statb.st_size + sizeof (auxv_t))) != NULL) { in Pread_aux_live() 156 if ((naux = read(fd, auxv, statb.st_size)) < 0 || in Pread_aux_live() 160 free(auxv); in Pread_aux_live() 162 auxv[naux].a_type = AT_NULL; in Pread_aux_live() 163 auxv[naux].a_un.a_val = 0L; in Pread_aux_live() 165 *auxvp = auxv; in Pread_aux_live()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | setup.c | 193 setup(char **envp, auxv_t *auxv, Word _flags, char *_platform, int _syspagsz, in setup() argument 214 _environ = (char **)((ulong_t)auxv - sizeof (char *)); in setup() 369 if (rtld_getopt(argv, &envp, &auxv, &(lml_main.lm_flags), in setup() 711 argsinfo.dla_auxv = auxv; in setup() 866 DBG_CALL(Dbg_file_ldso(rlmp, envp, auxv, in setup()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_layout_obj.c | 42 auxv_t auxv; variable
|
/illumos-gate/usr/src/tools/sgs/include/ |
H A D | Makefile | 42 sys/auxv.h \
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | actions.c | 408 auxv_t auxv[32]; in sysentry() local 412 naux = proc_get_auxv(pid, auxv, 32); in sysentry() 414 if (auxv[i].a_type == AT_SUN_EXECNAME) { in sysentry() 415 offset = (long)auxv[i].a_un.a_ptr; in sysentry()
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/ |
H A D | librtld_db.msg | 41 @ MSG_DB_FLDDATA "rtld_db: rl: found LDDATA auxv ld.so.1 data seg \ 118 @ MSG_ER_NOBASE "couldn't find auxv tag 'AT_BASE'"
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1582 auxv_t *auxv; in Pread_aux_gcore() local 1586 auxv = calloc(naux + 1, sizeof (*auxv)); in Pread_aux_gcore() 1587 if (auxv == NULL) { in Pread_aux_gcore() 1593 (void) memcpy(auxv, p->p_user.u_auxv, naux * sizeof (*auxv)); in Pread_aux_gcore() 1595 *auxvp = auxv; in Pread_aux_gcore()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | files.c | 107 Dbg_file_ldso(Rt_map *lmp, char **envp, auxv_t *auxv, const char *lmid, in Dbg_file_ldso() argument 120 EC_NATPTR(auxv)); in Dbg_file_ldso()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 1425 mdb_kproc_auxv(uintptr_t proc, auxv_t *auxv) in mdb_kproc_auxv() argument 1427 if (auxv != NULL) { in mdb_kproc_auxv() 1433 bcopy(p.p_user.u_auxv, auxv, in mdb_kproc_auxv()
|