Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/sgs/rtld/i386/
H A D_setup.c71 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 …]
H A Dboot.s115 movl $EB_AUXV,16(%esi) / set up tag for auxv
116 movl %edi,20(%esi) / point to auxv
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/
H A D_setup.c71 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 …]
/titanic_41/usr/src/cmd/sgs/rtld/amd64/
H A D_setup.c66 auxv_t *auxv, *_auxv; in _setup() local
97 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) { in _setup()
98 switch (auxv->a_type) { in _setup()
101 fd = (int)auxv->a_un.a_val; in _setup()
105 _flags = auxv->a_un.a_val; in _setup()
109 _syspagsz = (int)auxv->a_un.a_val; in _setup()
113 phdr = (Phdr *)auxv->a_un.a_ptr; in _setup()
118 ld_base = auxv->a_un.a_val; in _setup()
119 interp_base = auxv->a_un.a_val; in _setup()
123 euid = (uid_t)auxv->a_un.a_val; in _setup()
[all …]
H A Dboot.s129 / set up tag for auxv
131 / point to auxv
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A D_setup.c74 auxv_t *auxv, *_auxv; local
113 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) {
114 switch (auxv->a_type) {
117 fd = (int)auxv->a_un.a_val;
121 _flags = auxv->a_un.a_val;
125 _syspagsz = (int)auxv->a_un.a_val;
129 phdr = (Phdr *)auxv->a_un.a_ptr;
134 ld_base = auxv->a_un.a_val;
135 interp_base = auxv->a_un.a_val;
139 euid = (uid_t)auxv->a_un.a_val;
[all …]
/titanic_41/usr/src/cmd/ptools/pldd/
H A Dpldd.c153 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()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c248 const auxv_t *auxv; in ps_pbrandname() local
253 if (mdb_tgt_auxv(t, &auxv) != 0) in ps_pbrandname()
256 while (auxv->a_type != AT_NULL) { in ps_pbrandname()
257 if (auxv->a_type == AT_SUN_BRANDNAME) in ps_pbrandname()
259 auxv++; in ps_pbrandname()
261 if (auxv->a_type == AT_NULL) in ps_pbrandname()
265 buf, len, auxv->a_un.a_val) <= 0) in ps_pbrandname()
/titanic_41/usr/src/uts/common/exec/elf/
H A Dold_notes.c114 aux_entry_t auxv[__KERN_NAUXV_IMPL]; in write_old_elfnotes() member
149 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_old_elfnotes()
150 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_old_elfnotes()
152 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_old_elfnotes()
153 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes()
H A Delf_notes.c180 aux_entry_t auxv[__KERN_NAUXV_IMPL]; in write_elfnotes() member
272 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_elfnotes()
273 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_elfnotes()
275 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_elfnotes()
276 (caddr_t)bigwad->auxv, rlimit, credp); in write_elfnotes()
/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c613 auxv32_t auxv[__BOOT_NAUXV_IMPL]; /* Aux vector */ in read_elf32() local
615 auxv32_t *av = auxv; in read_elf32()
654 size = (caddr_t)av - (caddr_t)auxv; in read_elf32()
655 if (size > sizeof (auxv)) { in read_elf32()
667 bcopy(auxv, in read_elf32()
680 size = (av - auxv) * sizeof (auxv64_t); in read_elf32()
690 auxv32_t *a = auxv; in read_elf32()
692 for (a = auxv; a < av; a++) { in read_elf32()
1003 auxv64_t auxv[__BOOT_NAUXV_IMPL]; /* Aux vector */ in read_elf64() local
1005 auxv64_t *av = auxv; in read_elf64()
[all …]
/titanic_41/usr/src/lib/libproc/common/
H A DPsymtab.c305 if (P->auxv && (mptr == P->map_exec || mptr == P->map_ldso)) { in map_info_free()
306 free(P->auxv); in map_info_free()
307 P->auxv = NULL; in map_info_free()
843 if (P->auxv != NULL) { in Preadauxvec()
844 free(P->auxv); in Preadauxvec()
845 P->auxv = NULL; in Preadauxvec()
849 P->ops.pop_read_aux(P, &P->auxv, &P->nauxv, P->data); in Preadauxvec()
859 auxv_t *auxv; in Pgetauxval() local
861 if (P->auxv == NULL) in Pgetauxval()
864 if (P->auxv == NULL) in Pgetauxval()
[all …]
H A DPservice.c314 if (P->auxv == NULL) in ps_pauxv()
317 if (P->auxv == NULL) in ps_pauxv()
320 *aux = (const auxv_t *)P->auxv; in ps_pauxv()
H A DPcore.c959 if ((P->auxv = malloc(sizeof (auxv_t) * (n + 1))) == NULL) in note_auxv()
963 auxv_32_to_n(&a32[i], &P->auxv[i]); in note_auxv()
970 if ((P->auxv = malloc(nbytes + sizeof (auxv_t))) == NULL) in note_auxv()
973 if (read(P->asfd, P->auxv, nbytes) != nbytes) { in note_auxv()
974 free(P->auxv); in note_auxv()
975 P->auxv = NULL; in note_auxv()
985 P->auxv[i].a_type, P->auxv[i].a_un.a_val); in note_auxv()
994 P->auxv[n].a_type = AT_NULL; in note_auxv()
995 P->auxv[n].a_un.a_val = 0L; in note_auxv()
H A DPgcore.c1239 if (write_note(fd, NT_AUXV, P->auxv, in Pfgcore()
1240 P->nauxv * sizeof (P->auxv[0]), &doff) != 0) { in Pfgcore()
1260 auxv_n_to_32(&P->auxv[i], &av32[i]); in Pfgcore()
1321 if (write_note(fd, NT_AUXV, P->auxv, in Pfgcore()
1322 P->nauxv * sizeof (P->auxv[0]), &doff) != 0) { in Pfgcore()
1347 auxv_n_to_32(&P->auxv[i], &av32[i]); in Pfgcore()
H A DPcontrol.h221 auxv_t *auxv; /* the process's aux vector */ member
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dgen_layout_obj.c39 auxv_t auxv; variable
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c195 setup(char **envp, auxv_t *auxv, Word _flags, char *_platform, int _syspagsz, in setup() argument
216 _environ = (char **)((ulong_t)auxv - sizeof (char *)); in setup()
371 if (rtld_getopt(argv, &envp, &auxv, &(lml_main.lm_flags), in setup()
772 argsinfo.dla_auxv = auxv; in setup()
926 DBG_CALL(Dbg_file_ldso(rlmp, envp, auxv, in setup()
/titanic_41/usr/src/cmd/sgs/librtld_db/common/
H A Dlibrtld_db.msg41 @ 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'"
/titanic_41/usr/src/cmd/truss/
H A Dactions.c408 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()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1581 auxv_t *auxv; in Pread_aux_gcore() local
1585 auxv = calloc(naux + 1, sizeof (*auxv)); in Pread_aux_gcore()
1586 if (auxv == NULL) { in Pread_aux_gcore()
1592 (void) memcpy(auxv, p->p_user.u_auxv, naux * sizeof (*auxv)); in Pread_aux_gcore()
1594 *auxvp = auxv; in Pread_aux_gcore()
/titanic_41/usr/src/cmd/mdb/sparc/kmdb/kctl/
H A Dkctl_isadep.c273 kctl_auxv_fini_isadep(kmdb_auxv_t *auxv) in kctl_auxv_fini_isadep() argument
/titanic_41/usr/src/cmd/sgs/packages/
H A DMakefile138 $(ROOT)/usr/include/sys/auxv.h \
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c120 Dbg_file_ldso(Rt_map *lmp, char **envp, auxv_t *auxv, const char *lmid, in Dbg_file_ldso() argument
133 EC_NATPTR(auxv)); in Dbg_file_ldso()
/titanic_41/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1367 mdb_kproc_auxv(uintptr_t proc, auxv_t *auxv) in mdb_kproc_auxv() argument
1369 if (auxv != NULL) { in mdb_kproc_auxv()
1375 bcopy(p.p_user.u_auxv, auxv, in mdb_kproc_auxv()

12