Searched defs:auxv (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c153 const auxv_t *auxv; local
161 if (ps_pauxv(Pr, &auxv) == PS_OK) {
162 while (auxv->a_type != AT_NULL) {
163 if (auxv->a_type == AT_BASE) {
164 if (pmap->pr_vaddr == auxv->a_un.a_val)
168 auxv++;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c228 * Return the auxv structure from the process being examined.
248 const auxv_t *auxv; local
253 if (mdb_tgt_auxv(t, &auxv) != 0)
256 while (auxv->a_type != AT_NULL) {
257 if (auxv->a_type == AT_SUN_BRANDNAME)
259 auxv++;
261 if (auxv->a_type == AT_NULL)
265 buf, len, auxv->a_un.a_val) <= 0)
H A Dmdb_proc.c5077 const auxv_t *auxp, *auxv = NULL; local
5080 if (P != NULL && (auxv = Pgetauxvec(P)) != NULL &&
5081 auxv->a_type != AT_NULL) {
5082 for (auxp = auxv, auxn = 1; auxp->a_type != NULL; auxp++)
5093 bcopy(auxv, buf, nbytes);
5394 (void) mdb_tgt_xdata_insert(t, "auxv",
/illumos-gate/usr/src/uts/common/exec/elf/
H A Dold_notes.c48 #include <sys/auxv.h>
114 aux_entry_t auxv[__KERN_NAUXV_IMPL]; member in union:__anon4570
149 bigwad->auxv[i].a_type = up->u_auxv[i].a_type;
150 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val;
152 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv),
153 (caddr_t)bigwad->auxv, rlimit, credp);
H A Delf_notes.c56 #include <sys/auxv.h>
181 aux_entry_t auxv[__KERN_NAUXV_IMPL]; member in union:__anon187
274 bigwad->auxv[i].a_type = up->u_auxv[i].a_type;
275 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val;
277 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv),
278 (caddr_t)bigwad->auxv, rlimit, credp);
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_layout_obj.c27 #include <sys/auxv.h>
40 auxv_t auxv; variable
H A Dstruct_layout.h128 * Layout description of auxv_t, from <sys/auxv.h>.
543 const sl_auxv_layout_t *auxv; /* auxv_t */ member in struct:__anon69
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A D_setup.c43 #include <sys/auxv.h>
66 auxv_t *auxv, *_auxv; local
97 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) {
98 switch (auxv->a_type) {
101 fd = (int)auxv->a_un.a_val;
105 _flags = auxv->a_un.a_val;
109 _syspagsz = (int)auxv->a_un.a_val;
113 phdr = (Phdr *)auxv
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A D_setup.c48 #include <sys/auxv.h>
71 auxv_t *auxv, *_auxv; local
102 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) {
103 switch (auxv->a_type) {
106 fd = (int)auxv->a_un.a_val;
110 _flags = auxv->a_un.a_val;
114 _syspagsz = (int)auxv->a_un.a_val;
118 phdr = (Phdr *)auxv
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A D_setup.c48 #include <sys/auxv.h>
74 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
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A D_setup.c48 #include <sys/auxv.h>
71 auxv_t *auxv, *_auxv; local
102 for (auxv = _auxv; auxv->a_type != AT_NULL; auxv++) {
103 switch (auxv->a_type) {
106 fd = (int)auxv->a_un.a_val;
110 _flags = auxv->a_un.a_val;
114 _syspagsz = (int)auxv->a_un.a_val;
118 phdr = (Phdr *)auxv
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/kctl/
H A Dkctl_isadep.c273 kctl_auxv_fini_isadep(kmdb_auxv_t *auxv) argument
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dsetup.c50 #include <sys/auxv.h>
195 setup(char **envp, auxv_t *auxv, Word _flags, char *_platform, int _syspagsz, argument
216 _environ = (char **)((ulong_t)auxv - sizeof (char *));
371 if (rtld_getopt(argv, &envp, &auxv, &(lml_main.lm_flags),
772 argsinfo.dla_auxv = auxv;
926 DBG_CALL(Dbg_file_ldso(rlmp, envp, auxv,
H A Dutil.c50 #include <sys/auxv.h>
219 stack_cleanup(char **argv, char ***envp, auxv_t **auxv, int rmcnt) argument
260 *auxv = nauxv;
2216 rtld_getopt(char **argv, char ***envp, auxv_t **auxv, Word *lmflags, argument
2269 stack_cleanup(argv, envp, auxv, ndx);
/illumos-gate/usr/src/cmd/truss/
H A Dactions.c408 auxv_t auxv[32]; local
412 naux = proc_get_auxv(pid, auxv, 32);
414 if (auxv[i].a_type == AT_SUN_EXECNAME) {
415 offset = (long)auxv[i].a_un.a_ptr;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c26 #include <sys/auxv.h>
120 Dbg_file_ldso(Rt_map *lmp, char **envp, auxv_t *auxv, const char *lmid, argument
133 EC_NATPTR(auxv));
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c37 #include <sys/auxv.h>
613 auxv32_t auxv[__BOOT_NAUXV_IMPL]; /* Aux vector */ local
615 auxv32_t *av = auxv;
654 size = (caddr_t)av - (caddr_t)auxv;
655 if (size > sizeof (auxv)) {
667 bcopy(auxv,
680 size = (av - auxv) * sizeof (auxv64_t);
690 auxv32_t *a = auxv;
692 for (a = auxv; a < av; a++) {
1003 auxv64_t auxv[__BOOT_NAUXV_IMP local
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c50 #include <sys/auxv.h>
194 auxv_t auxv[__KERN_NAUXV_IMPL]; member in union:__anon144
1238 case PIOCAUXV: /* get aux vector (see sys/auxv.h) */
1241 bcopy(up->u_auxv, un.auxv,
1244 if (copyout(un.auxv, cmaddr,
1733 auxv32_t auxv[__KERN_NAUXV_IMPL]; member in union:__anon145
1757 auxv_t auxv[__KERN_NAUXV_IMPL]; member in union:__anon146
2868 case PIOCAUXV: /* get aux vector (see sys/auxv.h) */
2878 un32.auxv[i].a_type = up->u_auxv[i].a_type;
2879 un32.auxv[
[all...]
H A Dprvnops.c140 "auxv" },
611 pr_read_auxv, /* /proc/<pid>/auxv */
1045 auxv_t auxv[__KERN_NAUXV_IMPL]; local
1055 if (uiop->uio_offset >= sizeof (auxv)) {
1062 bcopy(up->u_auxv, auxv, sizeof (auxv));
1065 return (pr_uioread(auxv, sizeof (auxv), uiop));
1788 pr_read_auxv_32, /* /proc/<pid>/auxv */
2126 auxv32_t auxv[__KERN_NAUXV_IMP local
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab.c305 if (P->auxv && (mptr == P->map_exec || mptr == P->map_ldso)) {
306 free(P->auxv);
307 P->auxv = NULL;
843 if (P->auxv != NULL) {
844 free(P->auxv);
845 P->auxv = NULL;
849 P->ops.pop_read_aux(P, &P->auxv, &P->nauxv, P->data);
859 auxv_t *auxv; local
861 if (P->auxv == NULL)
864 if (P->auxv
[all...]
H A DPcontrol.h223 auxv_t *auxv; /* the process's aux vector */ member in struct:ps_prochandle
H A DPcontrol.c142 auxv_t *auxv; local
145 (void) snprintf(auxfile, sizeof (auxfile), "%s/%d/auxv",
155 (auxv = malloc(statb.st_size + sizeof (auxv_t))) != NULL) {
156 if ((naux = read(fd, auxv, statb.st_size)) < 0 ||
160 free(auxv);
162 auxv[naux].a_type = AT_NULL;
163 auxv[naux].a_un.a_val = 0L;
165 *auxvp = auxv;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1581 auxv_t *auxv; local
1585 auxv = calloc(naux + 1, sizeof (*auxv));
1586 if (auxv == NULL) {
1592 (void) memcpy(auxv, p->p_user.u_auxv, naux * sizeof (*auxv));
1594 *auxvp = auxv;
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1362 * Copy the auxv array from the given process's u-area into the provided
1363 * buffer. If the buffer is NULL, only return the size of the auxv array
1367 mdb_kproc_auxv(uintptr_t proc, auxv_t *auxv) argument
1369 if (auxv != NULL) {
1375 bcopy(p.p_user.u_auxv, auxv,

Completed in 152 milliseconds